In the context of performance measures for classification, I have a question about recall and precision.

Looking at the definition of recall:-

$recall = \frac{T_p}{T_p+F_n}$

When I look at this, it sounds like a $conditional$ probability to me -- probability that a test instance will be classified as positive, given that it is indeed positive:-

$ recall = Pr(X\hspace{1mm}is\hspace{1mm}predicted\hspace{1mm}as\hspace{1mm}positive | X=positive ) = \frac{T_p}{T_p+F_n}$

Here I am taking liberty to think (as it goes from the definition of $F_n$ ) that $F_n$ in the denominator is actually count of the test instances which are positive but got mis-classified as negative.

In the same light, if I think of precision now, this is how I am thinking of it as a probabilitty that a new test instance actually being positive given that it is predicted as a positive:-

$ precision = \frac{T_p}{T_p+F_p} = Pr(X=positive | X\hspace{1mm}is\hspace{1mm}predicted\hspace{1mm}as\hspace{1mm}positive)$

Is this interpretation of precision and recall correct?

  • 2
    $\begingroup$ Yes, it is correct. $\endgroup$
    – Valentas
    Apr 4, 2017 at 8:15
  • $\begingroup$ Please post it as an answer, so I can accept it as an answer. Just formality. Thx $\endgroup$
    – Dhiraj
    Apr 4, 2017 at 8:17
  • $\begingroup$ Tried posting confirmation myself that yes it is correct interpretation but looks like this site doesn't allow such a short answer. So I guess I will just have to leave this as it is then. $\endgroup$
    – Dhiraj
    Apr 5, 2017 at 23:02

1 Answer 1


Your interpretation is correct.

$ F_n $ represents the number of false negatives whereas $ F_p $ represents the number of false positives.


answers the question: when presented a positive example, how often does the classifier get it right?

aliases: sensitivity, true positive rate (TPR)


answers the question: out of all the examples the classifier thought were positive, how often were the examples actually positive?

aliases: positive predictive value (PPV)


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.