Commit d4b58902 by Pamela Osuna

saves the final results now

parent 2441b8bc
......@@ -87,4 +87,6 @@ def plot_confusion_matrix(cm,
plt.tight_layout()
plt.ylabel('True label')
plt.xlabel('Predicted label\naccuracy={:0.4f}; misclass={:0.4f}'.format(accuracy, misclass))
plt.show()
#plt.show()
plt.savefig("/img/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