1. Basic Measures for Information Retrieval

Evaluation in information retrieval involves assessing the quality of retrieved documents based on their relevance to a query. The following measures are commonly used:

Precision (P):

It is the proportion of retrieved documents that are actually relevant to the query. Precision is calculated using the formula: (relevant: actual positives)

where TP (True Positives) represents the number of relevant documents correctly retrieved, and FP (False Positives) represents the number of irrelevant documents incorrectly retrieved.

Recall (R)

It is the proportion of relevant documents that were successfully retrieved by the system. Recall is calculated using the formula:

where FN (False Negatives) represents the number of relevant documents that were not retrieved.

F-score (F1 score):