Quiet, Careful or Keen?

Model EvaluationMedium+20 XP+20

Quiet, Careful or Keen?

A card issuer tests three fraud models on the same 8,000 transactions, of which 40 are fraud.

modelwhat it didaccuracy
Quietflagged nothing at all99.5%99.5\%99.5%
Carefulflagged 6 transactions, 4 of them fraud99.525%99.525\%99.525%
Keenflagged 150 transactions, 32 of them fraud98.425%98.425\%98.425%

As the Choosing the Right Metric lesson warned, accuracy is easy to fool when one class is rare. So the team ranks the models by the Matthews correlation coefficient (MCC), a single score that uses all four cells of the confusion matrix, with fraud as the Positive class:

MCC=TP⋅TN−FP⋅FN(TP+FP)(TP+FN)(TN+FP)(TN+FN)\text{MCC} = \frac{TP \cdot TN - FP \cdot FN}{\sqrt{(TP + FP)(TP + FN)(TN + FP)(TN + FN)}}MCC=(TP+FP)(TP+FN)(TN+FP)(TN+FN)​TP⋅TN−FP⋅FN​

MCC runs from −1-1−1 (every call wrong) through 000 (the predictions tell you nothing about the truth) to +1+1+1 (every call right). If any of the four totals under the square root is 000, MCC is defined as 000.

What is the MCC of the model that ranks first? Round your answer to 3 decimal places.

Hints

Solve it to unlock the solution

Once you get it right, the reasoning behind the answer shows up here.