Machine Learning, FoundationsLesson 47 of 92

Module 5 · Measuring a model honestly

Metrics for a number, and what each one hides

In this lesson

  • 8 min read
  • 6 reading sections
  • Knowledge check
  • Lesson 6 of 11 in this chapter

This chapter’s goalGiven a fitted classifier and a stated cost of each kind of error, compute the confusion matrix at a chosen threshold, defend that threshold by expected cost, say whether the model’s probabilities are calibrated, decide with an interval whether one model genuinely beats another, and report per-group performance with a defensible fairness criterion and its known trade-offs.

This chapter’s media

The film explains chapter ideas. The audiobook narrates the complete teaching text.

FormatEnglishहिंदी
Chapter filmWatch1:59Not available
Full audiobookNot availableNot available

A little at a time

Explore an idea, try it, then check what stays.

Step 1 of 8Free · no account needed
Lesson steps

Four metrics, four different claims

When the target is a number rather than a class, the metric choice is quieter but no less consequential.

MAE: mean absolute error. Average size of the error, in the target’s units. Interpretable directly: “we are off by 4,200 rupees on average”. Treats every rupee of error the same.

RMSE: root mean squared error. Also in the target’s units, but errors are squared before averaging, so large errors dominate. RMSE is always at least as large as MAE, and the gap between them tells you how uneven your errors are. RMSE 12,000 with MAE 4,200 means a few very large errors; RMSE 4,600 with MAE 4,200 means errors of consistent size. Reporting both is more informative than reporting either.

Your place and first choices stay on this browser. Classroom credit is recorded separately.

Every lesson here is open. Your progress is recorded once you pass the How a Language Model Actually Works exam.

Stuck on something?Ask Funke, your AI tutor

How to cite: Addaly (2026) ‘Metrics for a number, and what each one hides’, in Machine Learning, Foundations. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/machine-learning-foundations/regression-metrics (Accessed: 27 November 2026).