Blog

Precision and Recall : The Definitive Guide

Precision

In pattern recognition, information retrieval and binary classification, precision is the fraction of relevant instances among the retrieved instances, while recall is the fraction of relevant instances that have been retrieved over the total amount of relevant instances.

Precision

recall and precision 1

In the field of information retrieval, precision is the fraction of retrieved documents that are relevant to the query:

Recall

In information retrieval, recall is the fraction of the relevant documents that are successfully retrieved.

Source [https://en.wikipedia.org/wiki/Precision_and_recall ]

Precision and recall are two extremely important model evaluation metrics and also for an SEO company. While precision refers to the percentage of your results which are relevant, recall refers to the percentage of total relevant results correctly classified by your algorithm.

Initializing values:

recall and precision 3

Calculating precision and recall:

recall and precision 4

Output:

recall and precision 5

  •  
  •  
  •  
  •  

Leave a Reply

Your email address will not be published. Required fields are marked *