Commit 628238b0 by Pamela Osuna

changed where to save the confusion matrix image

parent d5517592
......@@ -88,5 +88,5 @@ def plot_confusion_matrix(cm,
plt.ylabel('True label')
plt.xlabel('Predicted label\naccuracy={:0.4f}; misclass={:0.4f}'.format(accuracy, misclass))
#plt.show()
plt.savefig("/img/confusion_matrix")
plt.savefig("confusion_matrix")
plt.close()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment