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

fix : make_prediction

parent edb9f7b5
No related branches found
No related tags found
No related merge requests found
......@@ -175,8 +175,8 @@ def make_prediction_duo(model, data, f_name, f_name2):
for i in range(n_class):
confidence_matrix[i]=np.mean(confidence_pred_list[i],axis=0)
df_cm = pd.DataFrame(cf_matrix / np.sum(cf_matrix, axis=1)[:, None], index=[i for i in range(2)],
columns=['True','False'])
df_cm = pd.DataFrame(cf_matrix / np.sum(cf_matrix, axis=1)[:, None], index=[i for i in classes],
columns=[i for i in classes])
print('Saving Confusion Matrix')
plt.clf()
plt.figure(figsize=(14, 9))
......
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