Commit 129c9467 authored by Joaquin Torres's avatar Joaquin Torres

re run with cm

parent 1e2a171d
......@@ -272,7 +272,7 @@ if __name__ == "__main__":
# Get confusion matrix plot
y_pred = model.predict(X_test)
cm = confusion_matrix(y_test, y_pred)
ConfusionMatrixDisplay(cm).plot(ax=axes[model_idx[2]])
ConfusionMatrixDisplay(cm).plot(ax=axes[model_idx][2])
# Give name to plots
axes[model_idx][0].set_title(f'ROC Curve for {model_name}')
axes[model_idx][1].set_title(f'PR Curve for {model_name}')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment