What is the F1 score for the positive class?
Pred + Pred - Actual + 30 10 Actual - 20 40
- 0.67
- 0.60
- 0.75
- 0.70
Precision = 30/50 = 0.60, recall = 30/40 = 0.75, F1 = 2PR/(P+R) = 0.90/1.35 = 0.67.
Play AI & ML ▸
Pred + Pred - Actual + 30 10 Actual - 20 40