confusion-matrix Installation $ npm install --save confusion-matrix-tools Usage Load the library import useConfusionMatrixMetrics from 'confusion-matrix-tools' License MIT