From 7808fbd83ce00975c07039c1d7e4742125a70b7c Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Tue, 7 Feb 2023 15:39:00 -0600 Subject: [PATCH] snapshot... --- modules/util/plot_cm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/util/plot_cm.py b/modules/util/plot_cm.py index 34eabf66..64cfebe3 100644 --- a/modules/util/plot_cm.py +++ b/modules/util/plot_cm.py @@ -9,7 +9,7 @@ from sklearn.metrics import confusion_matrix import matplotlib.pyplot as plt -def plot_confusion_matrix_values(correct_labels, predict_labels, labels, title='Confusion matrix', filename='confusion_matrix', normalize=False): +def confusion_matrix_values(correct_labels, predict_labels): cm = confusion_matrix(correct_labels, predict_labels) return cm -- GitLab