Skip to content

FRM Part I · FRM Exam Part I · Machine Learning and Prediction

A confusion matrix for a credit model on 1,000 borrowers shows: true positives 60, false positives 40, false negatives 20, true negatives 880. What is the F1 score?

F1 is about 0.67. Precision is 60/100 = 0.60 and recall is 60/80 = 0.75, and F1 is their harmonic mean, 2×0.60×0.75/1.35 ≈ 0.667. Accuracy of 0.94 is misleading here because most borrowers did not default.

  1. A0.60
  2. B0.67Correct
  3. C0.75
  4. D0.93

Explanation

Precision = 60/100 = 0.60. Recall = 60/80 = 0.75. F1 = 2(0.60)(0.75)/(0.60+0.75) = 0.90/1.35 = 0.667. The 0.93 option is accuracy (940/1000), which is inflated by the many true negatives.

Did you get it right without looking?

One question tells you little. A timed set on Machine Learning and Prediction shows your real accuracy, how long you take and where you lose marks.

More Machine Learning and Prediction questions