AI Glossary / AI foundations / Beginner

Model evaluation

Model Evaluation (AI foundations)

Definition

Model evaluation is the practice of measuring how well an AI or machine learning model performs on a defined task, using data and criteria chosen before the results are known. It is not a one-time score or a vendor claim. What counts as good performance varies by task, by cost of errors, and by who sets the standard, so evaluation always needs a clear goal and a fair test.

What it means

Evaluation answers a plain question: does this model do the job well enough to rely on? A model can sound confident, look impressive in a demo and still fail on the cases that matter to your business. Evaluation replaces impressions with evidence.

It also forces you to say what "well enough" means. A model that is right 90 percent of the time may be excellent for sorting internal emails and unacceptable for approving loans. The same number can mean different things depending on what a wrong answer costs. Evaluation ties performance to that cost.

How it works

Evaluation usually starts with a test set: a collection of examples where the correct answer is already known. The model has not seen these examples during training or tuning. Keeping the test set separate matters, because a model tested on data it has already learned from will look better than it really is.

Next you choose metrics. For tasks with clear right and wrong answers, common metrics include accuracy (the share of answers that are correct), precision (of the items the model flagged, how many were truly positive) and recall (of the truly positive items, how many the model found). For text generated by a language model, there may be no single right answer, so teams use rubrics, side-by-side comparisons, human reviewers, or another model acting as a judge. Each approach has weaknesses, and judge models can carry their own biases.

Then you run the model, record the results and look beyond the average. Break results down by case type, customer group, language, or season. A good overall score can hide a weak spot. Finally, you repeat the process over time. Data changes, and a model that passed in March may drift by September, so evaluation is a routine, not an event.

Three practical examples

  • Finance team: A team tests a model that reads invoices and extracts the total and due date. They take 200 past invoices with verified values and compare. They track exact-match rate on each field and note that scanned, low-quality invoices fail far more often than clean PDFs.
  • Retailer: A retailer builds a model that predicts which products will sell out. They hold back the last eight weeks of sales data, ask the model to forecast it, and compare predictions to what happened. They also check whether errors are larger for new products than for established ones.
  • Support desk: A support team tries a chatbot that drafts replies to customers. Reviewers score 100 drafts against a rubric covering accuracy, tone and policy compliance. They find that tone is strong but refund-policy answers are often wrong, so they limit the chatbot to non-refund topics.

Think of it this way

Model evaluation is like a driving test for a new hire who will drive the company van: you set the route, the rules and the pass mark before they start, then watch what they actually do. The analogy stops working because a driver's skill is fairly stable, while a model's performance can shift when the data, the prompts or the model version changes.

Worked example

A lender tests a model that flags risky loan applications. The test set holds 1,000 applications with known outcomes: 100 truly risky and 900 safe.

The model flags 120 applications. Of those, 80 are truly risky and 40 are safe.

Accuracy: correct decisions are the 80 risky applications caught plus the safe ones passed. Safe applications passed = 900 - 40 = 860. So correct = 80 + 860 = 940. Accuracy = 940 / 1,000 = 94 percent.

Precision: of 120 flagged, 80 were truly risky. 80 / 120 = 66.7 percent.

Recall: of 100 truly risky, the model caught 80. 80 / 100 = 80 percent.

The 94 percent accuracy looks strong, but one in three flags is a false alarm and one in five risky loans is missed. If missing a risky loan costs far more than a manual review, the lender might tune the model for higher recall and accept lower precision.

Illustrative case study

Fictional case: Harbor Lane Insurance, a small made-up insurer, adopted a model to sort incoming claims into simple and complex. The vendor reported 95 percent accuracy, and the claims manager approved a rollout.

After three weeks, adjusters complained that many complex claims were landing in the simple queue and being paid too quickly. The team reviewed how the vendor had tested the model and found that the test data was mostly simple claims, so a model that labeled almost everything simple still scored well.

Harbor Lane built its own test set of 300 recent claims with equal numbers of simple and complex cases, labeled by senior adjusters. On this set, the model caught only 55 percent of complex claims. They retrained with more complex examples, set a minimum recall target of 85 percent for complex claims, and added a monthly re-test on fresh claims. The vendor figure was not wrong, but it answered a different question than the one Harbor Lane needed answered.

Common misconceptions and mistakes

A high accuracy score means the model is good. Accuracy can hide failures when one outcome is rare, so check precision, recall and results on the cases that matter most.

If a model passed evaluation once, it stays good. Data, customer behavior and model versions change, so re-test on a schedule and after any significant change.

Vendor benchmarks tell you how the model will perform for you. Benchmarks measure general tasks on public data, so test on your own examples before relying on it.

Evaluation is only for technical teams. Business owners define what counts as a costly error and what pass mark is acceptable, so they must be part of the process.

Business use

To start, pick one use case and write down what a good and bad outcome looks like in business terms. Collect 100 to 300 real examples with answers checked by someone who knows the work, and keep them separate from anything used to tune the model. Choose two or three metrics that reflect your costs, run the model, and review failures by hand to see patterns, not just the average. Repeat before launch, after changes, and on a regular schedule.

Measure the pass rate against a target you set in advance, the rate of the most costly errors, and how results differ across customer or case types. The costs are mainly staff time to build and label test data, and the discipline to keep it fresh. The risks of skipping evaluation are paying for a tool that does not work, hidden bias against some groups, and errors reaching customers. Frameworks such as the NIST AI Risk Management Framework treat measurement as an ongoing part of managing AI risk.

People also ask

How big does a test set need to be?

There is no single number. Enough examples to cover each important case type, often a few hundred for a small business task, is a practical start. Rare but costly cases need extra examples so they are actually tested.

Can I trust a model's own confidence score?

Not on its own. A model can be confident and wrong, so check whether its confidence matches how often it is actually right on your test data.

Who should do the evaluation?

People who understand the work should define the criteria and check answers, ideally with someone independent of the team that built or sold the model. Technical staff can then run the tests and report results.

Check your understanding

In the worked example, why does 94 percent accuracy not tell the whole story?

Answer: Because only 100 of 1,000 applications were risky. The model still produced 40 false alarms and missed 20 risky loans, which accuracy alone hides.

What was the precision of the lender's model?

Answer: 80 of the 120 flagged applications were truly risky, so precision was 80 / 120, or about 66.7 percent.

Why did Harbor Lane's vendor figure mislead them?

Answer: The vendor's test data was mostly simple claims, so the score did not reflect how the model handled complex claims.

Why should evaluation be repeated over time?

Answer: Data and behavior change, so a model that performed well once can degrade and needs periodic re-testing.

Related terms

  • Accuracy
  • Benchmarks
  • Test set
  • Overfitting
  • Bias
  • Human-in-the-loop
  • Precision and recall
  • Benchmark
  • Model drift

Learn next

Try building a small test set of 50 real examples from your own work and score a model against it, writing down every miss. Then read about precision and recall, and about model drift, to understand which errors matter and how performance changes over time.

  • Test set

More in AI foundations

  • Model alignment - Model alignment is the work of making an AI model behave in line with the goals, values and rules its builders and users intend.
  • Model architecture - Model architecture is the structural design of an AI model: how its components are arranged, how they connect, and how information flows through them from...
  • Model compression - Model compression is a set of techniques that make a trained AI model smaller, faster or cheaper to run while keeping most of its accuracy.
  • Model family - A model family is a group of AI models from the same developer that share a common design and training approach but come in different sizes, speeds, prices...
  • Model hosting - Model hosting is the practice of running a trained AI model on computing infrastructure so that applications, staff or customers can send it requests and...
  • Model license - A model license is the set of legal terms that says who may use an AI model, for what purposes, and under what conditions.

Sources

Google, Machine Learning Glossary: https://developers.google.com/machine-learning/glossary NIST, AI Risk Management Framework: https://www.nist.gov/itl/ai-risk-management-framework Goodfellow, Bengio and Courville, Deep Learning: https://www.deeplearningbook.org/ The sources were consulted for standard definitions of evaluation metrics and for the role of measurement in AI risk management; the examples, analogy, worked example and case are original educational illustrations. Checked 5 Nov 2026.

Previous: Model editing Next: Model extraction

  • Home
  • Daily AI Updates
  • Blog
  • AIFBL Academy
  • AI Glossary
  • Products and Tools
  • Store
  • Free CFO AI Prompt Pack
  • About Shihan Sheriff
  • Privacy Policy
  • Terms of Use
  • Refund Policy
  • Cookie Policy
  • Earnings Disclaimer