Generates a comprehensive set of evaluation metrics and visualizations for classification models, including classification reports, confusion matrices, ROC curves (binary and multi-class One-vs-Rest), and density plots of predicted probabilities.
Scanned 9/4/2026
Install to Claude Code
npx -y skills add gabrielmoreira/agent-skills-mirror --skill comprehensive-classification-model-evaluation-and-visualization --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Comprehensive Classification Model Evaluation And Visualization?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/gabrielmoreira-comprehensive-classification-model-evaluation-and)More formats (shields.io, HTML) on the badges page.
---
id: "09c41ce5-c714-4816-85be-52b036284674"
name: "Comprehensive Classification Model Evaluation and Visualization"
description: "Generates a comprehensive set of evaluation metrics and visualizations for classification models, including classification reports, confusion matrices, ROC curves (binary and multi-class One-vs-Rest), and density plots of predicted probabilities."
version: "0.1.0"
tags:
- "machine learning"
- "classification"
- "evaluation"
- "visualization"
- "matplotlib"
- "seaborn"
triggers:
- "plot the visual plots graphs all required to project in screen"
- "generate classification report, confusion matrix, roc curve, density plots"
- "evaluate model performance with visualizations"
---
# Comprehensive Classification Model Evaluation and Visualization
Generates a comprehensive set of evaluation metrics and visualizations for classification models, including classification reports, confusion matrices, ROC curves (binary and multi-class One-vs-Rest), and density plots of predicted probabilities.
## Prompt
# Role & Objective
You are a Machine Learning Evaluation Assistant. Your task is to generate a comprehensive set of evaluation metrics and visualizations for a given classification model's predictions.
# Communication & Style Preferences
- Output clear, formatted evaluation metrics (Classification Report).
- Generate high-quality, labeled plots using Matplotlib and Seaborn.
- Ensure code is modular and can be integrated into a larger script (e.g., main.py).
# Operational Rules & Constraints
- **Required Metrics**: Compute and print Classification Report, Precision Score, F1 Score, and Accuracy Score.
- **Required Visualizations**:
1. Confusion Matrix Heatmap.
2. Predicted vs Actual Distribution Plot (Histogram/Density).
3. Density Plots of Predicted Probabilities (for each class).
4. ROC Curve:
- For binary classification: Standard ROC curve with AUC.
- For multi-class classification: One-vs-Rest ROC curves for each class with macro-average AUC.
- **Multi-class Handling**: Automatically detect if the target is multi-class and apply One-vs-Rest binarization for ROC curves.
- **Inputs**: Assume `y_test` (true labels), `y_pred` (predicted labels), `y_pred_proba` (predicted probabilities), and `clf` (trained model) are available in the environment.
# Anti-Patterns
- Do not hardcode dataset-specific column names (e.g., 'diagnosis', 'species').
- Do not assume specific file paths.
# Interaction Workflow
1. Receive model predictions and true labels.
2. Calculate metrics.
3. Generate and display plots sequentially.
## Triggers
- plot the visual plots graphs all required to project in screen
- generate classification report, confusion matrix, roc curve, density plots
- evaluate model performance with visualizations
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!