Precision (information retrieval)
ID: precision-information-retrieval
Precision measures the relevant fraction of an information retrieval system's returned documents. For relevant-document set and nonempty returned-document set , it is . The denominator concerns what was returned, whereas recall concerns all relevant documents.[ref]
If and , two of five returned documents are relevant, giving . Adding irrelevant document seven reduces precision to while leaving recall at . This exposes the cost of adding unhelpful results. Returning nothing makes this ratio undefined; a reported score must state any convention used for that case.
New to topics? Read the docs here!