Skip to content
AWS Certified AI Practitioner (AIF-C01) Exam Prep

Lesson 9 of 34 · 6 min

x
9/34

Model Metrics and Business Metrics

Video lesson: AIF-C01 09/34: Model Metrics and Business Metrics

Classification metrics (general background)

From the confusion matrix: true positives (TP), false positives (FP), true negatives (TN), false negatives (FN).

MetricFormulaAnswersFavour when
Accuracy(TP + TN) / allHow often is it right overall?Classes are balanced
PrecisionTP / (TP + FP)Of the items flagged, how many were truly positive?False alarms are costly (spam filter hiding real mail)
Recall (sensitivity)TP / (TP + FN)Of the real positives, how many did we catch?Misses are costly (fraud, disease screening)
F1 scoreHarmonic mean of precision and recallBalance of bothImbalanced classes; both errors matter
AUC (area under the ROC curve)0.5 = random, 1.0 = perfectRanking quality across thresholdsComparing classifiers (named in guide v1.0)

Accuracy trap: if 1% of transactions are fraud, a model that says "never fraud" is 99% accurate and useless. Use recall, precision and F1.

Regression models use error metrics such as mean absolute error or root mean squared error (general background).

Business metrics (named in the guide)

MetricMeasures
Cost per userRunning cost spread across users
Development costsBuild, data, people
Customer feedbackSatisfaction, complaints, ratings
Return on investment (ROI)Value gained versus total cost

A model with great precision can still fail the business if it costs more than it saves (design guidance).

Exam traps

  • Choosing accuracy for an imbalanced problem.
  • Precision when the question says "catch as many as possible". That's recall.
  • Judging success only on model metrics and ignoring cost and ROI.

References

  1. AIF-C01 exam guide, Domain 1 — checked Oct 19, 2026
  2. revisions — checked Oct 19, 2026

Check your understanding

  • A cancer screening model must miss as few cases as possible. Which metric?Show answer

    Answer

    Recall.
  • Users complain that real emails land in spam. Which metric to raise?Show answer

    Answer

    Precision.
  • Precision and recall both matter on imbalanced data. One metric?Show answer

    Answer

    F1 score.
Previous

Progress is saved in this browser.

Next Lesson