Inspect classifier errors with confusion matrices after predictions already exist. Use for per-class error analysis, threshold tradeoffs, and label-confusion diagnosis; not for regression metrics or full model training ownership.
Scanned 9/2/2026
Install to Claude Code
npx -y skills add majiayu000/claude-skill-registry --skill confusion-matrix-generator --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Confusion Matrix Generator?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/majiayu000-confusion-matrix-generator-claude-skill-registry)More formats (shields.io, HTML) on the badges page.
---
name: confusion-matrix-generator
description: |
Inspect classifier errors with confusion matrices after predictions already exist.
Use for per-class error analysis, threshold tradeoffs, and label-confusion diagnosis; not for regression metrics or full model training ownership.
allowed-tools: Read, Write, Edit, Bash(python:*), Bash(pip:*)
version: 1.0.0
license: MIT
author: Jeremy Longshore <jeremy@intentsolutions.io>
---
# Confusion Matrix Generator
## Purpose
Use this skill when the user already has classification outputs and needs to understand where the model is getting confused.
## When to Use
Use this skill when:
- Breaking down false positives and false negatives by class
- Comparing thresholds or class weights for a classification model
- Explaining which classes are systematically confused with one another
## Not For / Boundaries
- Regression evaluation: use `evaluating-machine-learning-models`
- Leakage audits: use `ml-data-leakage-guard`
- End-to-end training runs: use `training-machine-learning-models`
## Typical Outputs
- Confusion matrix tables or heatmaps
- Per-class precision/recall breakdowns
- Actionable notes on thresholding, relabeling, or class balancing
## Related Skills
- `evaluating-machine-learning-models` for the broader metric suite
- `feature-importance-analyzer` when the next question is why a class fails
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!