Skip to content
Snippets Groups Projects
Commit b15d2fe2 authored by tomrink's avatar tomrink
Browse files

snapshot...

parent 525fd1ef
No related branches found
No related tags found
No related merge requests found
......@@ -11,6 +11,7 @@ import matplotlib.pyplot as plt
def plot_confusion_matrix_values(correct_labels, predict_labels, labels, title='Confusion matrix', filename='confusion_matrix', normalize=False):
cm = confusion_matrix(correct_labels, predict_labels)
return cm
def plot_confusion_matrix(cm, labels, title='Confusion matrix', filename = 'confusion_matrix', normalize=False):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment