Skip to content
mentoor

ML metrics

For engineers

Precision, recall, F1, ROC and PR curves, calibration and regression errors, chosen to match the decision and compared honestly

See where you stand

110 questions across four stages: Understand, Apply, Solve and Judge.

Try 5 questions

Practice items, not counted towards your mastery. No account needed.

Check yourself · 1 of 5

A model flags 80 emails as spam, and 60 of them really are spam. What is its precision?

Choose one answer

Check yourself · 2 of 5

What does F1 combine?

Choose one answer

Check yourself · 3 of 5

Which metric is most affected by one very large prediction error?

Choose one answer

Check yourself · 4 of 5

A model is well calibrated. Among cases it scores near 0.7, what should you expect?

Choose one answer

Check yourself · 5 of 5

Why compute a baseline score before evaluating a model?

Choose one answer

Topics

  1. Precision, recall and the confusion matrix4 min read · True and false positives and negatives, and the trade-off between catching more cases and raising fewer false alarms
  2. F1, ROC-AUC and precision-recall curves5 min read · Single-number summaries, decision thresholds, and why accuracy and ROC-AUC flatter models when positives are rare
  3. Regression error metrics: MAE, RMSE and MAPE5 min read · Absolute, squared and percentage errors for numeric predictions and how outliers and near-zero values distort each
  4. Calibrated probabilities and reliability plots5 min read · Whether a predicted 0.8 really happens 80 percent of the time, reliability diagrams, Brier score and recalibration
  5. Comparing models with baselines and intervals5 min read · Deciding whether a small gain is real with a baseline, bootstrap confidence intervals and per-segment scores
  6. Choosing a metric for the business decision5 min read · Tying the metric and threshold to the cost of false positives and false negatives in the real use case

Start here

Helps to know first

110 questions · last verified 2026-12