Precision and Recall

September 17, 2022

Precision and recall are one of the most fundamental metrics in machine learning and having a good intuition for these metrics is really important for evaluating any of the fancy models.

Confusion Matrix

The results of a classification models can be visualzed nealty by Confusion matrix.

Precision

$Precision = tp/(tp+fp)$

Recall

$Recall = tp/(tp+fn)$

Here is a diagram summarizing precision and recall:

PR visualization

Real life applications and case studies

References: [1] https://en.wikipedia.org/wiki/Confusion_matrix [2] https://en.wikipedia.org/wiki/Precision_and_recall [3] Real life usecases: https://medium.com/analytics-vidhya/precision-recall-tradeoff-for-real-world-use-cases-c6de4fabbcd0 [4] More by the above author : https://www.lavanya.dev/blog

Cite this post

Sai Sourabh Madur (2022). Precision and Recall. sourabhmadur.github.io. https://sourabhmadur.github.io/2022/precision-recall/

@misc{madur2022_precision_recall,
  author       = {Sai Sourabh Madur},
  title        = {Precision and Recall},
  year         = {2022},
  howpublished = {\url{https://sourabhmadur.github.io/2022/precision-recall/}},
  publisher    = {sourabhmadur.github.io}
}
Precision and Recall - September 17, 2022 - Sai Sourabh Madur