I found this: enter image description here http://www2.cs.uregina.ca/~dbd/cs831/notes/confusion_matrix/confusion_matrix.html

defining TP,FP,TN, FN as: enter image description here

while on the other hand I often find it in such form:

enter image description here http://www.cs.cornell.edu/courses/cs578/2003fa/performance_measures.pdf

Which notation for confusion matrix is more accurate?


There is unfortunately no consensus on the correct notation. You can also find, like on the Wikipedia page about type I and type II errors, a third notation:

enter image description here

My preference goes to the first notation you mention (http://www2.cs.uregina.ca/~dbd/cs831/notes/confusion_matrix/confusion_matrix.html), as it extends to any number of classes unlike the other notations (since label 0 is usually assigned to the negative class, and label 1 is assigned to the positive class).

| cite | improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.