Recall, o exhaustividad, es una métrica de evaluación que mide la proporción de elementos positivos o relevantes reales que un modelo identifica correctamente. En clasificación, es el número de verdaderos positivos dividido por todos los positivos reales, y es especialmente importante cuando los positivos omitidos tienen un coste alto.
In classification , the recall for a class is the number of items correctly predicted as belonging to that class divided by the total number of items that actually belong to the class.
A metric for classification models that answers the following question: When ground truth was the positive class, what percentage of predictions did the model correctly identify as the positive class? Here is the formula: \\\\\\[\\\\Recall\ = \\\\\\\\true positives\\ \\\\\true positives\ + \\\\false negatives\\ \\\\\\] where: - true positive means the model correctly predicted the positive class. - false negative means that the model mistakenly predicted the negative class. For instance, suppose your model made 200 predictions on examples for which ground truth was the positive class. Of these 200 predictions: - 180 were true positives. - 20 were false negatives. In this case: \\\\\\[\\\\Recall\ = \\\\\\\\180\\ \\\\\180\ + \\\\20\\ = 0.9 \\\\\\] Recall is particularly useful for determining the predictive power of classification models in which the positive class is rare. For example, consider a class-imbalanced dataset in which the positive class for a certain disease occurs in only 10 patients out of a million. Suppose your model makes five million predictions that yield the following outcomes: - 30 True Positives - 20 False Negatives - 4,999,000 True Negatives - 950 False Positives The recall of this model is therefore: By contrast, the accuracy of this model is: That high value of accuracy looks impressive but is essentially meaningless. Recall is a much more useful metric for class-imbalanced datasets than accuracy. See Classification: Accuracy, recall, precision and related metrics for more information.
The percentage of true nearest neighbors returned by the index. For example, if a nearest neighbor query for 20 nearest neighbors returned 19 of the "ground truth" nearest neighbors, the recall is 19/20x100 = 95%.
A side-by-side comparison of Precision and Recall. Understand how precision evaluates the correctness of predicted positives, while recall evaluates how many actual positives were found.
A side-by-side comparison of Accuracy and Recall. Understand how overall correctness differs from the ability to find actual positive cases, especially when missed positives are costly.