Version 4.0

pip install pycm==4.0

 Source Code (.Zip) (943 KB)

 Source Code (.tar.gz) (908 KB)

 Try PyCM Online

 Document

PyCM is a multi-class confusion matrix library written in Python that supports both input data vectors and direct matrix, and a proper tool for post-classification model evaluation that supports most classes and overall statistics parameters. PyCM is the swiss-army knife of confusion matrices, targeted mainly at data scientists that need a broad array of metrics for predictive models and an accurate evaluation of large variety of classifiers.

If you use PyCM in your research , please cite this paper

 PYCM.bib (BibTeX Format)

Haghighi, S., Jasemi, M., Hessabi, S. and Zolanvari, A. (2018). PyCM: Multiclass confusion matrix library in Python.
Journal of Open Source Software, 3(25), p.729.

PyCM Github PyCM Doc PyCM Donate PyCM Download Page PyCM Email PyCM Mailing List PyCM Discord PyCM LinkedIn