pycm
pycm copied to clipboard
Multi-class confusion matrix library in Python
#### Description Support **numpy array** or **nested list** #### Steps/Code to Reproduce ```pycon >>> from pycm import ConfusionMatrix >>> matrix = [[1,2,3],[4,6,1],[1,2,3]] >>> cm = ConfusionMatrix(matrix = matrix) >>> cm2...
#### Description I received an email from **Dr. Aonghus Lawlor** (@aonghus) and it seems we forgot to add **NPV Micro/Macro** to stat. Currently, we support all other similar metrics (**FPR**,...
#### Description Control the number of decimal points in `normalized` mode. * `print_normalized_matrix` and `plot` methods #### Steps/Code to Reproduce ```pycon >>> from pycm import * >>> cm = ConfusionMatrix(matrix={"Class1":...
#### Description I want to add my classes instead of the default `[0, 1, 2]` and in a particular order `["normal", "lgg", "hgg"]`. However, these get sorted. It would be...
#### Description I was going to add my own custom labels in ConfusionMatrix. However, this blanked out all other values. #### Steps/Code to Reproduce Input: ```python cm1 = ConfusionMatrix( y_true,...
#### Description I have noticed that for the Area under the ROC curve calculation, the threshold is only fixed to T=0.5? Just want to clarify because the example given does...
#### Description Add `metric_off` parameter to `ConfusionMatrix` object to prevent metrics calculation.
#### Description Support more binary distance measures as a new method.
#### Description Support more binary similarity measures as a new method.