Skip to main content

Precision and Recall

  • Reference work entry
Encyclopedia of Machine Learning

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 use 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 to check access.

Access this chapter

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2011 Springer Science+Business Media, LLC

About this entry

Cite this entry

Ting, K.M. (2011). Precision and Recall. In: Sammut, C., Webb, G.I. (eds) Encyclopedia of Machine Learning. Springer, Boston, MA. https://doi.org/10.1007/978-0-387-30164-8_652

Download citation

Publish with us

Policies and ethics