Spaces:
Restarting
Restarting
Update app.py
Browse files
app.py
CHANGED
@@ -762,7 +762,7 @@ elif app_mode == "Model Training":
|
|
762 |
|
763 |
#Heatmap
|
764 |
fig_conf, ax_conf = plt.subplots()
|
765 |
-
sns.heatmap(conf_matrix, annot=True, fmt='d', cmap='Blues'
|
766 |
ax_conf.set_xlabel('Predicted Labels')
|
767 |
ax_conf.set_ylabel('True Labels')
|
768 |
ax_conf.set_title('Confusion Matrix')
|
|
|
762 |
|
763 |
#Heatmap
|
764 |
fig_conf, ax_conf = plt.subplots()
|
765 |
+
sns.heatmap(conf_matrix, ax=ax_conf, annot=True, fmt='d', cmap='Blues')
|
766 |
ax_conf.set_xlabel('Predicted Labels')
|
767 |
ax_conf.set_ylabel('True Labels')
|
768 |
ax_conf.set_title('Confusion Matrix')
|