Home Tools Leaderboard Academy Pricing Blog Submit Tool Sign up Sign in
HomeToolsDeveloper Tools › pycm
Listed on SEOGANT Developer Tools
pycm logo

pycm

Multi-class confusion matrix library in Python

84
Score
Get deal
120 views
0 reviews
Listed Mar 2026
Overview
Pricing
Reviews (0)
Alternatives
Q&A
Free
Listed on SEOGANT
+12%
MoM Growth
-
Active Users
-
Churn Rate
8:24
EXPERT REVIEW

Expert Video Review by SEOGANT · March 2026

Distribution Score: 84/100 What is this?

SEO & Organic Traffic
92
Affiliate Program
86
Product-Market Fit
88
Community & Social
74
Retention / Churn
87

What is pycm?

PyCM is a Python library for computing and displaying multi-class confusion matrix statistics in machine learning classification tasks.

While scikit-learn provides basic confusion matrix functionality, PyCM offers an extensive set of over 100 performance metrics derived from confusion matricescovering not just accuracy, precision, recall, and F1, but also Matthews Correlation Coefficient, Cohen's Kappa, Informedness, Markedness, AUC estimates, and dozens of statistical tests relevant to specific evaluation contexts.

This breadth makes it a comprehensive tool for thorough classification model evaluation.

The library handles both binary and multi-class classification problems and provides per-class metrics alongside aggregated statistics, helping practitioners identify whether a model's aggregate accuracy masks poor performance on specific classes.

PyCM generates human-readable reports in multiple formatsprinted tables, CSV, HTML, and JSONsuitable for embedding in automated evaluation pipelines or sharing with stakeholders who need to understand model performance without running code themselves.

It also includes statistical significance tests for comparing two models' performance on the same dataset.

Data scientists evaluating classification models in domains where class imbalance is significantmedical diagnosis, fraud detection, rare event predictionuse PyCM to go beyond accuracy metrics that can be misleading when class frequencies differ substantially.

ML engineers building automated model evaluation pipelines integrate it to generate comprehensive performance reports at each training run, tracking not just primary metrics but the full distribution of per-class performance over time.

Who is pycm for?

ML practitioners and data scientists who need comprehensive multi-class classification evaluation beyond basic accuracy metrics
Researchers publishing classification results who want a Python library providing 60+ metrics with formatted output for papers and reports
ML engineers integrating classification evaluation into pipelines who want a simple API that handles binary and multi-class cases uniformly
Students and educators learning classification evaluation who want an accessible library covering all standard confusion matrix derived metrics

Learn this stack in Academy

Get implementation playbooks for tools like pycm in guided Academy lessons. Start free, then unlock the full library with Learner.

Open Academy →

Pricing & Access

Free Monthly
Visit pycm →

Pricing details on provider page.

Comments (0)

Sign in to join the discussion.

User Reviews

Alternatives to

Supabase CMS logo
Supabase CMS
Coding & Dev Tools · Score 80/100
View →
SiteSignal logo
SiteSignal
Coding & Dev Tools · Score 49/100
View →
AI Video API.ai logo
AI Video API.ai
Coding & Dev Tools · Score 80/100
View →

Frequently Asked Questions

What is PyCM?
PyCM is a Python library for multi-class confusion matrix analysis. It computes 60+ classification metrics from a confusion matrix or raw predictions/labels, with support for binary and multi-class problems, formatted output, and easy integration into ML pipelines.
What metrics does PyCM compute?
PyCM computes accuracy, precision, recall, F1, MCC, Cohen's Kappa, AUC, TPR, TNR, FPR, PPV, NPV, and 50+ additional metrics — both per-class and macro/micro averaged — making it one of the most comprehensive confusion matrix libraries available.
How do I create a confusion matrix with PyCM?
PyCM accepts actual and predicted label lists, or a pre-computed confusion matrix dictionary. One line — `cm = ConfusionMatrix(actual_vector, predict_vector)` — gives you access to all metrics.
Does PyCM support output formatting?
Yes — PyCM can output confusion matrix summaries as formatted text, HTML, CSV, and JSON. It also integrates with Jupyter for notebook-friendly display.
Is PyCM free?
Yes — PyCM is open source (MIT license) and freely available on PyPI.

Product Details

Listed on SEOGANTFree
MRR Growth+12% / mo
Active Users-+
Churn Rate-
ListedMar 2026

Founder

pycm logo
pycm Team
Founder
"PyCM is a Python library for computing and displaying multi-class confusion matrix statistics in machine learning classification tasks."
pycm Score: 84
Free · Monthly · MRR Free verified · +12% MoM
FREE ACCOUNT
Join SEOGANT
Access verified MRR data, financial metrics, and exclusive deals.
Create Account
Sign In
or