From 1e543beeab7c458c3a22060e3c68c73b282fa874 Mon Sep 17 00:00:00 2001 From: Vrisha Shah <74671946+Vrisha213@users.noreply.github.com> Date: Fri, 17 May 2024 18:46:04 +0530 Subject: [PATCH] Update confusion-matrix.md --- contrib/machine-learning/confusion-matrix.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/machine-learning/confusion-matrix.md b/contrib/machine-learning/confusion-matrix.md index 959df9a..ac5cd31 100644 --- a/contrib/machine-learning/confusion-matrix.md +++ b/contrib/machine-learning/confusion-matrix.md @@ -1,6 +1,6 @@ Confusion Matrix - A confusion matrix is a fundamental performance evaluation tool used in machine learning to assess the accuracy of a classification model. It is an N x N matrix, where N represents the number of target classes. -For binary classification, it results in a 2 x 2 matrix that outlines four key parameters: +For binary classification, it results in a 2 x 2 matrix that outlines four key parameters: 1. True Positive (TP) - The predicted value matches the actual value, or the predicted class matches the actual class. For example - the actual value was positive, and the model predicted a positive value. 2. True Negative (TN) - The predicted value matches the actual value, or the predicted class matches the actual class.