Skip to main content

Precision and Recall

  • Living reference work entry
  • First Online:

Definition

Precision and recall are the measures used in the information retrieval domain to measure how well an information retrieval system retrieves the relevant documents requested by a user. The measures are defined as follows:

Precision  = Total number of documents retrieved that are relevant/total number of documents that are retrieved

Recall  = Total number of documents retrieved that are relevant/total number of relevant documents in the database

We can employ the same terminology used in a confusion matrix to define these two measures. Let relevant documents be positive examples and irrelevant documents, negative examples. The two measures can be redefined with reference to a special case of the confusion matrix, with two classes: one designated the positive class and the other the negative class, as indicated in Table 1.

Precision and Recall, Table 1 The outcomes of classification into positive and negative classes

This is a preview of subscription content, log in via an institution.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Kai Ming Ting .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2016 Springer Science+Business Media New York

About this entry

Cite this entry

Ting, K.M. (2016). Precision and Recall. In: Sammut, C., Webb, G. (eds) Encyclopedia of Machine Learning and Data Mining. Springer, Boston, MA. https://doi.org/10.1007/978-1-4899-7502-7_659-1

Download citation

  • DOI: https://doi.org/10.1007/978-1-4899-7502-7_659-1

  • Received:

  • Accepted:

  • Published:

  • Publisher Name: Springer, Boston, MA

  • Online ISBN: 978-1-4899-7502-7

  • eBook Packages: Springer Reference Computer SciencesReference Module Computer Science and Engineering

Publish with us

Policies and ethics