pechaut commited on
Commit
79ee030
1 Parent(s): c5c567e

Update streamlit_presentation/modele.py

Browse files
Files changed (1) hide show
  1. streamlit_presentation/modele.py +2 -0
streamlit_presentation/modele.py CHANGED
@@ -38,10 +38,12 @@ def presentation_modele(st,data, model,class_labels, y_test):
38
 
39
  st.title("Matrice de Confusion Normalisée")
40
  plt.figure(figsize=(10, 10))
 
41
  sns.heatmap(normalized_conf_matrix, annot=True, cmap='Blues',fmt='.0f',
42
  xticklabels=class_labels,
43
  yticklabels=class_labels,
44
  linewidths=1.5)
 
45
  plt.xlabel('Prédictions')
46
  plt.ylabel('Réelles')
47
  plt.title('Matrice de Confusion')
 
38
 
39
  st.title("Matrice de Confusion Normalisée")
40
  plt.figure(figsize=(10, 10))
41
+
42
  sns.heatmap(normalized_conf_matrix, annot=True, cmap='Blues',fmt='.0f',
43
  xticklabels=class_labels,
44
  yticklabels=class_labels,
45
  linewidths=1.5)
46
+ plt.xticks(rotation=45)
47
  plt.xlabel('Prédictions')
48
  plt.ylabel('Réelles')
49
  plt.title('Matrice de Confusion')