The confusion matrix on T is M = (TP, FP, FN, TN), where TP, FP, FN, and TN stand for true positive, false positive, false negative, and true negative, respectively.
from these counts, one can compute the P, R and f 1 : Goutte and Gaussier (2005) provided the natural probabilistic interpretations of P and R. M follows a multinomial distribution with parameters π Then, P and R estimate the following probabilities: p = P (l = +|z = +), r = P (z = +|l = +), (2) where l and z represent the true and predicted labels and + indicates a positive label.