Knowing If It WorksLesson 17 of 76

Module 2 · Metrics that mean something

When the output is a quantity

In this lesson

  • 9 min read
  • 6 reading sections
  • Knowledge check
  • Lesson 7 of 10 in this chapter

This chapter’s goalChoose a metric that matches the decision at hand, set a threshold from a real confusion matrix or a precision-recall curve, say whether a model’s 0.8 means anything about probability, and separate a retrieval failure from a generation failure in a system that does both.

This chapter’s media

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

FormatEnglishहिंदी
Chapter filmNot availableNot available
Full audiobookNot availableNot available

A little at a time

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

Step 1 of 7Free · no account needed
Lesson steps

The same question in a different costume

Plenty of AI features output a number: predicted delivery time, forecast demand, an estimated price, a risk score in rupees, a count extracted from a document. The evaluation question is unchanged (what decision does this serve) but the metrics differ, and the differences are not cosmetic.

Start with five errors: 1, 1, 1, 1, 10 units.

Text
MAE  = (1+1+1+1+10) / 5              = 2.8
RMSE = sqrt((1+1+1+1+100) / 5)       = sqrt(20.8) = 4.6

Mean absolute error is the average miss, in the units of the thing. Root mean squared error squares first, so the single large error dominates. That is the whole choice, and it is a business question rather than a statistical one:

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 Shipping It exam.

Stuck on something?Ask Sayali, your AI tutor

How to cite: Addaly (2026) ‘When the output is a quantity’, in Knowing If It Works. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/evaluating-ai/metrics-for-numbers (Accessed: 29 November 2026).