SOTAVerified

PyCM: Multiclass confusion matrix library in Python

2018-05-29The Journal of Open Source Software 2018Code Available2· sign in to hype

Sepand Haghighi, Masoomeh Jasemi, Shaahin Hessabi, Alireza Zolanvari

Code Available — Be the first to reproduce this paper.

Reproduce

Code

Abstract

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.

Tasks

Reproductions