Precision is the share of a model's positive predictions that were correct, and recall is the share of all real positives the model managed to find.
Google defines precision as the proportion of all positive classifications that are actually positive, and recall as the proportion of all actual positives classified correctly, also called the true positive rate, in its machine learning crash course. Both come from the cells of a confusion matrix.
The two pull against each other. A fraud model that flags almost everything has high recall but low precision, burying staff in false alarms; one that flags only obvious cases has high precision but misses fraud. Is precision the same as recall? No: precision asks how many of the flags were right, recall asks how many of the real cases were caught. The F1 score combines them into one number.
What counts as a good score depends on the cost of each mistake. Medical screening favours recall, because missing a case is worse than a false alarm, while a sales lead filter may favour precision so reps only call strong leads. The same thinking applies to search: reranking improves precision of what reaches the top.
Saraswati Stitch®