F1 score calculation in Machine Learning | evaluation matrix
17 Apr 2024 · 1 min

0:31
Akansha Yadav shows how to calculate F1 score from a confusion matrix using the formula 2 × TP / (2 × TP + FN + FP). F1 score is the harmonic mean of precision and recall, and works better than accuracy for imbalanced datasets.










