La medida F, también conocida como Puntuación F1, is a statistical measure used to assess the performance of a classification model, particularly in scenarios with conjuntos de datos desequilibrados. It combines two critical métricas de evaluación: precision and recall.
Precisión refers to the number of true positive results divided by the sum of true positive and Falso positivo results. It indicates how many of the predicted positive instances are actually positive. Recordar, on the other hand, is the number of true positive results divided by the sum of true positive and false negative results, measuring how many of the actual positive instances were correctly identified by the model.
La medida F se calcula usando la fórmula:
F1 = 2 * (Precisión * Recall) / (Precisión + Recall)
This formula creates a single score that balances both precision and recall, providing a more comprehensive measure of a model’s accuracy than either metric alone. The F-Measure ranges from 0 to 1, where 1 indicates perfect precision and recall, and 0 indicates the worst performance.
La medida F es particularmente útil en aplicaciones como recuperación de información, medical diagnosis, and any other field where the cost of false positives and false negatives varies significantly. By focusing on both precision and recall, the F-Measure helps practitioners select models that are better suited to their specific needs and priorities.