Confusion matrix logic2019 Community Moderator ElectionCalculating a Confusion MatrixPython - Get FP/TP from Confusion Matrix using a ListExport dataset with predicted target - PythonConfusion Matrix - Get Items FP/FN/TP/TN - PythonInterpreting confusion matrix and validation results in convolutional networksHow to make sense of confusion matrixUsing scikit Learn - Neural network to produce ROC CurvesIs it possible to find a model that minimises both false positive and false negative?Confusion MatrixCan Expectation Maximization estimate truth and confusion matrix from multiple noisy sources?
Where does SFDX store details about scratch orgs?
How can saying a song's name be a copyright violation?
How could indestructible materials be used in power generation?
Brothers & sisters
Western buddy movie with a supernatural twist where a woman turns into an eagle at the end
Doing something right before you need it - expression for this?
Is it inappropriate for a student to attend their mentor's dissertation defense?
Python: return float 1.0 as int 1 but float 1.5 as float 1.5
Did Shadowfax go to Valinor?
Combinations of multiple lists
How to take photos in burst mode, without vibration?
Is it unprofessional to ask if a job posting on GlassDoor is real?
A reference to a well-known characterization of scattered compact spaces
Stopping power of mountain vs road bike
Today is the Center
What does it mean to describe someone as a butt steak?
Took a trip to a parallel universe, need help deciphering
Is "remove commented out code" correct English?
Why does Kotter return in Welcome Back Kotter
Does a druid starting with a bow start with no arrows?
What mechanic is there to disable a threat instead of killing it?
1960's book about a plague that kills all white people
Will google still index a page if I use a $_SESSION variable?
What reasons are there for a Capitalist to oppose a 100% inheritance tax?
Confusion matrix logic
2019 Community Moderator ElectionCalculating a Confusion MatrixPython - Get FP/TP from Confusion Matrix using a ListExport dataset with predicted target - PythonConfusion Matrix - Get Items FP/FN/TP/TN - PythonInterpreting confusion matrix and validation results in convolutional networksHow to make sense of confusion matrixUsing scikit Learn - Neural network to produce ROC CurvesIs it possible to find a model that minimises both false positive and false negative?Confusion MatrixCan Expectation Maximization estimate truth and confusion matrix from multiple noisy sources?
$begingroup$
Can someone explain me the logic behind the confusion matrix?
- True Positive (TP): prediction is POSITIVE, actual outcome is POSITIVE, result is 'True Positive' - No questions.
- False Negative (FN): prediction is NEGATIVE, actual outcome is POSITIVE, result is 'False Negative' - Why is that? Shouldn't it be 'False Positive'?
- False Positive (FP): prediction is POSITIVE, actual outcome is NEGATIVE, result is 'False Positive' - Why is that? Shouldn't it be 'True Negative'?
- True Negative (TN): prediction is NEGATIVE, actual outcome is NEGATIVE, result is 'True Negative' - Why is that? Shouldn't it be 'False Negative'?

confusion-matrix
$endgroup$
add a comment |
$begingroup$
Can someone explain me the logic behind the confusion matrix?
- True Positive (TP): prediction is POSITIVE, actual outcome is POSITIVE, result is 'True Positive' - No questions.
- False Negative (FN): prediction is NEGATIVE, actual outcome is POSITIVE, result is 'False Negative' - Why is that? Shouldn't it be 'False Positive'?
- False Positive (FP): prediction is POSITIVE, actual outcome is NEGATIVE, result is 'False Positive' - Why is that? Shouldn't it be 'True Negative'?
- True Negative (TN): prediction is NEGATIVE, actual outcome is NEGATIVE, result is 'True Negative' - Why is that? Shouldn't it be 'False Negative'?

confusion-matrix
$endgroup$
$begingroup$
Stick to positive/negative for the test, and True/false for whether the test matches reality (actual outcome). Then it should be clear.
$endgroup$
– Mitch
Mar 21 at 18:22
add a comment |
$begingroup$
Can someone explain me the logic behind the confusion matrix?
- True Positive (TP): prediction is POSITIVE, actual outcome is POSITIVE, result is 'True Positive' - No questions.
- False Negative (FN): prediction is NEGATIVE, actual outcome is POSITIVE, result is 'False Negative' - Why is that? Shouldn't it be 'False Positive'?
- False Positive (FP): prediction is POSITIVE, actual outcome is NEGATIVE, result is 'False Positive' - Why is that? Shouldn't it be 'True Negative'?
- True Negative (TN): prediction is NEGATIVE, actual outcome is NEGATIVE, result is 'True Negative' - Why is that? Shouldn't it be 'False Negative'?

confusion-matrix
$endgroup$
Can someone explain me the logic behind the confusion matrix?
- True Positive (TP): prediction is POSITIVE, actual outcome is POSITIVE, result is 'True Positive' - No questions.
- False Negative (FN): prediction is NEGATIVE, actual outcome is POSITIVE, result is 'False Negative' - Why is that? Shouldn't it be 'False Positive'?
- False Positive (FP): prediction is POSITIVE, actual outcome is NEGATIVE, result is 'False Positive' - Why is that? Shouldn't it be 'True Negative'?
- True Negative (TN): prediction is NEGATIVE, actual outcome is NEGATIVE, result is 'True Negative' - Why is that? Shouldn't it be 'False Negative'?

confusion-matrix
confusion-matrix
asked Mar 21 at 9:34
Tauno TanilasTauno Tanilas
261
261
$begingroup$
Stick to positive/negative for the test, and True/false for whether the test matches reality (actual outcome). Then it should be clear.
$endgroup$
– Mitch
Mar 21 at 18:22
add a comment |
$begingroup$
Stick to positive/negative for the test, and True/false for whether the test matches reality (actual outcome). Then it should be clear.
$endgroup$
– Mitch
Mar 21 at 18:22
$begingroup$
Stick to positive/negative for the test, and True/false for whether the test matches reality (actual outcome). Then it should be clear.
$endgroup$
– Mitch
Mar 21 at 18:22
$begingroup$
Stick to positive/negative for the test, and True/false for whether the test matches reality (actual outcome). Then it should be clear.
$endgroup$
– Mitch
Mar 21 at 18:22
add a comment |
4 Answers
4
active
oldest
votes
$begingroup$
A confusion matrix is a table that is often used to describe the performance of a classification model. The figure you have provided presents a binary case, but it is also used with more than 2 classes (there are just more rows/columns).
The rows refer to the actual Ground-Truth label/class of the input and the columns refer to the prediction provided by the model.
The name of the different cases are taken from the predictor's point of view.
True/False means that the prediction is the same as the ground truth and Negative/Positive refers to what was the prediction.
The 4 different cases in the confusion matrix:
True Positive (TP): The model's prediction is "Positive" and it is the same as the actual ground-truth class, which is "Positive", so this is a True Positive case.
False Negative (FN): The model's prediction is "Negative" and it is wrong because the actual ground-truth class is "Positive", so this is a False Negative case.
False Positive (FP): The model's prediction is "Positive" and it is wrong because the actual ground-truth class is "Negative", so this is a False Positive case.
True Negative (TN): The model's prediction is "Negative" and it is the same as the actual ground-truth class, which is "Negative", so this is a True Negative case.
$endgroup$
2
$begingroup$
Thanks a lot! It's all clear now :)
$endgroup$
– Tauno Tanilas
Mar 21 at 11:04
add a comment |
$begingroup$
Please find the below:
False Negative (FN): prediction is NEGATIVE, actual outcome is POSITIVE, result is 'False Negative' - Why is that? Shouldn't it be 'False Positive'?
Answer : The predictive model supposed to give the answer as 'Positive', but it predicted as 'Negative', which means Falsely predicted as Negative aka False Negative.False Positive (FP): prediction is POSITIVE, actual outcome is NEGATIVE, result is 'False Positive' - Why is that? Shouldn't it be 'True Negative'?
Answer : The predictive model supposed to give the answer as 'Negative', but it predicted as 'Positive', which means Falsely predicted as Positive aka False Positive.True Negative (TN): prediction is NEGATIVE, actual outcome is NEGATIVE, result is 'True Negative' - Why is that? Shouldn't it be 'False Negative'?
Answer : The predicted output supposed to be Negative, and model also predicted as Negative.
For better understanding, you can run a simple binary classfication model and analyze the confusion matrix.
Thank you,
KK
$endgroup$
add a comment |
$begingroup$
Seems like you understand the meaning of the confusion matrix, nut not the logic used to name its entries!
Here are my 5 cents:
The names are all of this kind:
<True/False> <Positive/Negative>
| |
Part1 Part2
The first part explains if the prediction was right or not. If you have only True Positive and True Negative your model is perfect. If you have only False Positive and False Negative your model is really bad.
The second part explains the prediction of the model.
So:
False Negative (FN): the prediction is NEGATIVE (0) but the first part is False, this means that the prediction is wrong (should have been POSITIVE (1)).
False Positive (FP): the prediction is POSITIVE (1) but the first part is False, this means that the prediction is wrong (should have been NEGATIVE (0)).
True Negative (TN): prediction is NEGATIVE and the first part is True. The prediction is right (model predicted NEGATIVE, for NEGATIVE samples)
$endgroup$
add a comment |
$begingroup$
True means Correct, False means Incorrect.
True Positive (TP): Model predicted P, which is Correct.
False Positive (FP): Model predicted P, which is Incorrect, must have predicted N.
True Negative (TN): Model predicted N, which is Correct.
False Negative (FN): Model predicted N, which is Incorrect, must have predicted P.
$endgroup$
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
return StackExchange.using("mathjaxEditing", function ()
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
);
);
, "mathjax-editing");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "557"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdatascience.stackexchange.com%2fquestions%2f47725%2fconfusion-matrix-logic%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
A confusion matrix is a table that is often used to describe the performance of a classification model. The figure you have provided presents a binary case, but it is also used with more than 2 classes (there are just more rows/columns).
The rows refer to the actual Ground-Truth label/class of the input and the columns refer to the prediction provided by the model.
The name of the different cases are taken from the predictor's point of view.
True/False means that the prediction is the same as the ground truth and Negative/Positive refers to what was the prediction.
The 4 different cases in the confusion matrix:
True Positive (TP): The model's prediction is "Positive" and it is the same as the actual ground-truth class, which is "Positive", so this is a True Positive case.
False Negative (FN): The model's prediction is "Negative" and it is wrong because the actual ground-truth class is "Positive", so this is a False Negative case.
False Positive (FP): The model's prediction is "Positive" and it is wrong because the actual ground-truth class is "Negative", so this is a False Positive case.
True Negative (TN): The model's prediction is "Negative" and it is the same as the actual ground-truth class, which is "Negative", so this is a True Negative case.
$endgroup$
2
$begingroup$
Thanks a lot! It's all clear now :)
$endgroup$
– Tauno Tanilas
Mar 21 at 11:04
add a comment |
$begingroup$
A confusion matrix is a table that is often used to describe the performance of a classification model. The figure you have provided presents a binary case, but it is also used with more than 2 classes (there are just more rows/columns).
The rows refer to the actual Ground-Truth label/class of the input and the columns refer to the prediction provided by the model.
The name of the different cases are taken from the predictor's point of view.
True/False means that the prediction is the same as the ground truth and Negative/Positive refers to what was the prediction.
The 4 different cases in the confusion matrix:
True Positive (TP): The model's prediction is "Positive" and it is the same as the actual ground-truth class, which is "Positive", so this is a True Positive case.
False Negative (FN): The model's prediction is "Negative" and it is wrong because the actual ground-truth class is "Positive", so this is a False Negative case.
False Positive (FP): The model's prediction is "Positive" and it is wrong because the actual ground-truth class is "Negative", so this is a False Positive case.
True Negative (TN): The model's prediction is "Negative" and it is the same as the actual ground-truth class, which is "Negative", so this is a True Negative case.
$endgroup$
2
$begingroup$
Thanks a lot! It's all clear now :)
$endgroup$
– Tauno Tanilas
Mar 21 at 11:04
add a comment |
$begingroup$
A confusion matrix is a table that is often used to describe the performance of a classification model. The figure you have provided presents a binary case, but it is also used with more than 2 classes (there are just more rows/columns).
The rows refer to the actual Ground-Truth label/class of the input and the columns refer to the prediction provided by the model.
The name of the different cases are taken from the predictor's point of view.
True/False means that the prediction is the same as the ground truth and Negative/Positive refers to what was the prediction.
The 4 different cases in the confusion matrix:
True Positive (TP): The model's prediction is "Positive" and it is the same as the actual ground-truth class, which is "Positive", so this is a True Positive case.
False Negative (FN): The model's prediction is "Negative" and it is wrong because the actual ground-truth class is "Positive", so this is a False Negative case.
False Positive (FP): The model's prediction is "Positive" and it is wrong because the actual ground-truth class is "Negative", so this is a False Positive case.
True Negative (TN): The model's prediction is "Negative" and it is the same as the actual ground-truth class, which is "Negative", so this is a True Negative case.
$endgroup$
A confusion matrix is a table that is often used to describe the performance of a classification model. The figure you have provided presents a binary case, but it is also used with more than 2 classes (there are just more rows/columns).
The rows refer to the actual Ground-Truth label/class of the input and the columns refer to the prediction provided by the model.
The name of the different cases are taken from the predictor's point of view.
True/False means that the prediction is the same as the ground truth and Negative/Positive refers to what was the prediction.
The 4 different cases in the confusion matrix:
True Positive (TP): The model's prediction is "Positive" and it is the same as the actual ground-truth class, which is "Positive", so this is a True Positive case.
False Negative (FN): The model's prediction is "Negative" and it is wrong because the actual ground-truth class is "Positive", so this is a False Negative case.
False Positive (FP): The model's prediction is "Positive" and it is wrong because the actual ground-truth class is "Negative", so this is a False Positive case.
True Negative (TN): The model's prediction is "Negative" and it is the same as the actual ground-truth class, which is "Negative", so this is a True Negative case.
answered Mar 21 at 10:02
Mark.FMark.F
1,0791421
1,0791421
2
$begingroup$
Thanks a lot! It's all clear now :)
$endgroup$
– Tauno Tanilas
Mar 21 at 11:04
add a comment |
2
$begingroup$
Thanks a lot! It's all clear now :)
$endgroup$
– Tauno Tanilas
Mar 21 at 11:04
2
2
$begingroup$
Thanks a lot! It's all clear now :)
$endgroup$
– Tauno Tanilas
Mar 21 at 11:04
$begingroup$
Thanks a lot! It's all clear now :)
$endgroup$
– Tauno Tanilas
Mar 21 at 11:04
add a comment |
$begingroup$
Please find the below:
False Negative (FN): prediction is NEGATIVE, actual outcome is POSITIVE, result is 'False Negative' - Why is that? Shouldn't it be 'False Positive'?
Answer : The predictive model supposed to give the answer as 'Positive', but it predicted as 'Negative', which means Falsely predicted as Negative aka False Negative.False Positive (FP): prediction is POSITIVE, actual outcome is NEGATIVE, result is 'False Positive' - Why is that? Shouldn't it be 'True Negative'?
Answer : The predictive model supposed to give the answer as 'Negative', but it predicted as 'Positive', which means Falsely predicted as Positive aka False Positive.True Negative (TN): prediction is NEGATIVE, actual outcome is NEGATIVE, result is 'True Negative' - Why is that? Shouldn't it be 'False Negative'?
Answer : The predicted output supposed to be Negative, and model also predicted as Negative.
For better understanding, you can run a simple binary classfication model and analyze the confusion matrix.
Thank you,
KK
$endgroup$
add a comment |
$begingroup$
Please find the below:
False Negative (FN): prediction is NEGATIVE, actual outcome is POSITIVE, result is 'False Negative' - Why is that? Shouldn't it be 'False Positive'?
Answer : The predictive model supposed to give the answer as 'Positive', but it predicted as 'Negative', which means Falsely predicted as Negative aka False Negative.False Positive (FP): prediction is POSITIVE, actual outcome is NEGATIVE, result is 'False Positive' - Why is that? Shouldn't it be 'True Negative'?
Answer : The predictive model supposed to give the answer as 'Negative', but it predicted as 'Positive', which means Falsely predicted as Positive aka False Positive.True Negative (TN): prediction is NEGATIVE, actual outcome is NEGATIVE, result is 'True Negative' - Why is that? Shouldn't it be 'False Negative'?
Answer : The predicted output supposed to be Negative, and model also predicted as Negative.
For better understanding, you can run a simple binary classfication model and analyze the confusion matrix.
Thank you,
KK
$endgroup$
add a comment |
$begingroup$
Please find the below:
False Negative (FN): prediction is NEGATIVE, actual outcome is POSITIVE, result is 'False Negative' - Why is that? Shouldn't it be 'False Positive'?
Answer : The predictive model supposed to give the answer as 'Positive', but it predicted as 'Negative', which means Falsely predicted as Negative aka False Negative.False Positive (FP): prediction is POSITIVE, actual outcome is NEGATIVE, result is 'False Positive' - Why is that? Shouldn't it be 'True Negative'?
Answer : The predictive model supposed to give the answer as 'Negative', but it predicted as 'Positive', which means Falsely predicted as Positive aka False Positive.True Negative (TN): prediction is NEGATIVE, actual outcome is NEGATIVE, result is 'True Negative' - Why is that? Shouldn't it be 'False Negative'?
Answer : The predicted output supposed to be Negative, and model also predicted as Negative.
For better understanding, you can run a simple binary classfication model and analyze the confusion matrix.
Thank you,
KK
$endgroup$
Please find the below:
False Negative (FN): prediction is NEGATIVE, actual outcome is POSITIVE, result is 'False Negative' - Why is that? Shouldn't it be 'False Positive'?
Answer : The predictive model supposed to give the answer as 'Positive', but it predicted as 'Negative', which means Falsely predicted as Negative aka False Negative.False Positive (FP): prediction is POSITIVE, actual outcome is NEGATIVE, result is 'False Positive' - Why is that? Shouldn't it be 'True Negative'?
Answer : The predictive model supposed to give the answer as 'Negative', but it predicted as 'Positive', which means Falsely predicted as Positive aka False Positive.True Negative (TN): prediction is NEGATIVE, actual outcome is NEGATIVE, result is 'True Negative' - Why is that? Shouldn't it be 'False Negative'?
Answer : The predicted output supposed to be Negative, and model also predicted as Negative.
For better understanding, you can run a simple binary classfication model and analyze the confusion matrix.
Thank you,
KK
answered Mar 21 at 10:07
KK2491KK2491
345521
345521
add a comment |
add a comment |
$begingroup$
Seems like you understand the meaning of the confusion matrix, nut not the logic used to name its entries!
Here are my 5 cents:
The names are all of this kind:
<True/False> <Positive/Negative>
| |
Part1 Part2
The first part explains if the prediction was right or not. If you have only True Positive and True Negative your model is perfect. If you have only False Positive and False Negative your model is really bad.
The second part explains the prediction of the model.
So:
False Negative (FN): the prediction is NEGATIVE (0) but the first part is False, this means that the prediction is wrong (should have been POSITIVE (1)).
False Positive (FP): the prediction is POSITIVE (1) but the first part is False, this means that the prediction is wrong (should have been NEGATIVE (0)).
True Negative (TN): prediction is NEGATIVE and the first part is True. The prediction is right (model predicted NEGATIVE, for NEGATIVE samples)
$endgroup$
add a comment |
$begingroup$
Seems like you understand the meaning of the confusion matrix, nut not the logic used to name its entries!
Here are my 5 cents:
The names are all of this kind:
<True/False> <Positive/Negative>
| |
Part1 Part2
The first part explains if the prediction was right or not. If you have only True Positive and True Negative your model is perfect. If you have only False Positive and False Negative your model is really bad.
The second part explains the prediction of the model.
So:
False Negative (FN): the prediction is NEGATIVE (0) but the first part is False, this means that the prediction is wrong (should have been POSITIVE (1)).
False Positive (FP): the prediction is POSITIVE (1) but the first part is False, this means that the prediction is wrong (should have been NEGATIVE (0)).
True Negative (TN): prediction is NEGATIVE and the first part is True. The prediction is right (model predicted NEGATIVE, for NEGATIVE samples)
$endgroup$
add a comment |
$begingroup$
Seems like you understand the meaning of the confusion matrix, nut not the logic used to name its entries!
Here are my 5 cents:
The names are all of this kind:
<True/False> <Positive/Negative>
| |
Part1 Part2
The first part explains if the prediction was right or not. If you have only True Positive and True Negative your model is perfect. If you have only False Positive and False Negative your model is really bad.
The second part explains the prediction of the model.
So:
False Negative (FN): the prediction is NEGATIVE (0) but the first part is False, this means that the prediction is wrong (should have been POSITIVE (1)).
False Positive (FP): the prediction is POSITIVE (1) but the first part is False, this means that the prediction is wrong (should have been NEGATIVE (0)).
True Negative (TN): prediction is NEGATIVE and the first part is True. The prediction is right (model predicted NEGATIVE, for NEGATIVE samples)
$endgroup$
Seems like you understand the meaning of the confusion matrix, nut not the logic used to name its entries!
Here are my 5 cents:
The names are all of this kind:
<True/False> <Positive/Negative>
| |
Part1 Part2
The first part explains if the prediction was right or not. If you have only True Positive and True Negative your model is perfect. If you have only False Positive and False Negative your model is really bad.
The second part explains the prediction of the model.
So:
False Negative (FN): the prediction is NEGATIVE (0) but the first part is False, this means that the prediction is wrong (should have been POSITIVE (1)).
False Positive (FP): the prediction is POSITIVE (1) but the first part is False, this means that the prediction is wrong (should have been NEGATIVE (0)).
True Negative (TN): prediction is NEGATIVE and the first part is True. The prediction is right (model predicted NEGATIVE, for NEGATIVE samples)
answered Mar 21 at 10:44
Francesco PegoraroFrancesco Pegoraro
60918
60918
add a comment |
add a comment |
$begingroup$
True means Correct, False means Incorrect.
True Positive (TP): Model predicted P, which is Correct.
False Positive (FP): Model predicted P, which is Incorrect, must have predicted N.
True Negative (TN): Model predicted N, which is Correct.
False Negative (FN): Model predicted N, which is Incorrect, must have predicted P.
$endgroup$
add a comment |
$begingroup$
True means Correct, False means Incorrect.
True Positive (TP): Model predicted P, which is Correct.
False Positive (FP): Model predicted P, which is Incorrect, must have predicted N.
True Negative (TN): Model predicted N, which is Correct.
False Negative (FN): Model predicted N, which is Incorrect, must have predicted P.
$endgroup$
add a comment |
$begingroup$
True means Correct, False means Incorrect.
True Positive (TP): Model predicted P, which is Correct.
False Positive (FP): Model predicted P, which is Incorrect, must have predicted N.
True Negative (TN): Model predicted N, which is Correct.
False Negative (FN): Model predicted N, which is Incorrect, must have predicted P.
$endgroup$
True means Correct, False means Incorrect.
True Positive (TP): Model predicted P, which is Correct.
False Positive (FP): Model predicted P, which is Incorrect, must have predicted N.
True Negative (TN): Model predicted N, which is Correct.
False Negative (FN): Model predicted N, which is Incorrect, must have predicted P.
edited Mar 27 at 15:46
answered Mar 21 at 15:53
EsmailianEsmailian
2,581318
2,581318
add a comment |
add a comment |
Thanks for contributing an answer to Data Science Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdatascience.stackexchange.com%2fquestions%2f47725%2fconfusion-matrix-logic%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
$begingroup$
Stick to positive/negative for the test, and True/false for whether the test matches reality (actual outcome). Then it should be clear.
$endgroup$
– Mitch
Mar 21 at 18:22