Skip to content
Snippets Groups Projects
Commit 488b3c92 authored by Schneider Leo's avatar Schneider Leo
Browse files

debugging confusion matrix

parent d0065a92
No related branches found
No related tags found
No related merge requests found
......@@ -233,7 +233,7 @@ def make_prediction_duo(model, data, f_name):
# constant for classes
classes = data.dataset.dataset.classes
print('Prediction made')
# Build confusion matrix
cf_matrix = confusion_matrix(y_true, y_pred)
df_cm = pd.DataFrame(cf_matrix[:, None], index=[i for i in classes],
......
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