Performance Measure

In binary classification problems, samples can be treated as:

  • True Positive (TP)
  • False Positive (FP)
  • True Negative (TN)
  • False Negative (FN)

Especially, TP + FP + TN + FN = all samples.


In order to be more intuitive, we get a table:

    Predicted class Predicted class
    Class = 1 Class = 0
Actual class Class = 1 TP (11) FN(10)
Actual class Class = 0 FP(01) TN(00)

Precision = TP / ( TP + FP)

Sensitivity / Recall = TP / (TP + FN)

Specificity = TN / (TN + FP)

猜你喜欢

转载自blog.csdn.net/z_d_f_m/article/details/79826758