DAILY PRACTICEBuild your AI engineering skills, one problem at a time.Try today's challenge
InferenceAIStart learning path

Machine Learning · Advanced

Model evaluation

Model evaluation checks whether a model meets a defined goal on data that represents its intended use.

TRY IT YOURSELF

Explore precision and recall

Adjust counts from a binary classifier. These examples are illustrative.

Precision80.0%
Recall80.0%

How it works

Choose an appropriate split, establish a baseline, and measure errors with metrics tied to the problem. For a binary classifier, precision and recall provide complementary views.

A concrete example

A fraud model can achieve high accuracy by predicting the majority class. Recall, precision, and the cost of investigation expose a more useful picture.

Watch for this

Tuning repeatedly on the test set leaks information into model selection. Keep a held-out test set for the final evaluation.

Try it yourself

Use the sliders to compare the consequences of more false alarms versus more missed positives.

Continue to practice →

Read the source: Google: classification evaluation ↗

Related concepts

Regression →

Classification →

Decision trees →