tonality
Confusion Matrix Playground

Be the model! Check your evaluation metrics!

Pretend to be a machine learning model whose purpose is keeping the sheep alive and thus, detect Wolves from Sheep. Then see how you score on the confusion matrix!

Wolf. Danger!! :(

gpp_maybe

Not Wolf. Safe :)

gpp_good

Correct Answer

Wolf
Sheep

Your Answer

Wolf
Sheep

Scores

Accuracy: {{this.accuracy.toFixed(DECIMAL_PLACES)}}, Precision: {{this.precision.toFixed(DECIMAL_PLACES)}}

Recall: {{this.recall.toFixed(DECIMAL_PLACES)}},   Specificity: {{this.specificity.toFixed(DECIMAL_PLACES)}}

Underkill: {{this.underkill.toFixed(DECIMAL_PLACES)}}, Overkill: {{this.overkill.toFixed(DECIMAL_PLACES)}}

Equations

Precision = / (+)

Recall = / ( + )

Specificity = / ( + )

Accuracy = ( + ) / ( + + + )