plot_confusion_matrix
Generate a confusion matrix heatmap to compare true and predicted labels, enabling deeper diagnosis of classification model errors.
Instructions
Visual confusion matrix heatmap for classification models. Shows true vs predicted labels with counts. Use after evaluate_model for deeper diagnosis. Example: plot_confusion_matrix(model_name="rf_classifier", test_df_name="data_test")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save_path | No | ||
| model_name | No | ||
| test_df_name | No | ||
| target_column | No |