- F1 Score – It is the harmonic mean of precision and recall.
To calculate F1 score, we can use the following formula:
F1 Score = 2 * (Precision * Recall) / (Precision + Recall)
Using the values from our example confusion matrix, the F1 score would be: