You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
I wanted to start off by saying that your tutorials and videos are really great! so clear and simple!
I've been working on a binary classification problem for my school with scikit-learn and I have been scratching my head in regards to how it displays the confusion matrix. For instance I have as output
[ [30 5]
[2 42] ]
I noticed by looking at the classification report that scikit learn by default outputs the negative class first. This leads me to understand that the first list is the negative class and that the second is the positive class. However, what I don't understand how to interpret what each number stands for as in TP, FP, TN, FN.
TN(30) FN (5)
FP(2) TP (42)
Is this a current representation of the input above?
Thanks a bunch!
The text was updated successfully, but these errors were encountered:
Hi!
I wanted to start off by saying that your tutorials and videos are really great! so clear and simple!
I've been working on a binary classification problem for my school with scikit-learn and I have been scratching my head in regards to how it displays the confusion matrix. For instance I have as output
I noticed by looking at the classification report that scikit learn by default outputs the negative class first. This leads me to understand that the first list is the negative class and that the second is the positive class. However, what I don't understand how to interpret what each number stands for as in TP, FP, TN, FN.
Is this a current representation of the input above?
Thanks a bunch!
The text was updated successfully, but these errors were encountered: