What is the F1 score?

Information Retrieval Questions



44 Short 80 Medium 48 Long Answer Questions Question Index

What is the F1 score?

The F1 score is a measure of a model's accuracy in information retrieval tasks, particularly in binary classification problems. It is the harmonic mean of precision and recall, providing a balanced evaluation of both metrics. The formula for calculating the F1 score is:

F1 score = 2 * (precision * recall) / (precision + recall)