Hugging Face Space: BucketHeadP65/confusion_matrix
Author: BucketHeadP65
SDK: gradio
title: Confusion Matrix
tags: evaluate
metric
description: Compute confusion matrix to evaluate the accuracy of a classification. By definition a confusion matrix :math:C is such that :math:C_{i, j} is equal to the number of observations known to be in group :math:i and predicted to be in group :math:j. Thus in binary classification, the count of true negatives is :math:C_{0,0}, false negatives is :math:C_{1,0}, true positives is :math:C_{1,1} and false positives is :math:C_{0,1}.