← Back to CoursesTensorFlow & AI Programming: Beginner

Neuroanatomy Explorer

Drag to rotate · scroll to zoom · click regions to explore

View
Loading 3D model…

Click a region
to explore it

Memory Deck

Flip each card and rate whether you knew it. Your score is saved.

Term
Definition

Deck complete — score saved.

Match the Pairs

Match each term to its definition. Finish the board to earn your score.

All matched — score saved.

Concept Constellation

Every key idea in this course, mapped as an explorable 3D constellation. Drag to rotate, scroll to zoom, click a node.

Click a node to read its definition.

Evaluating Models and Avoiding Overfitting

Manual: General · Subject: TensorFlow & AI Programming

Learn how to measure model quality and prevent models from memorizing noise.

Does the Model Generalize?

Evaluation basics

A good model does well on new data, not just training data. Evaluation metrics help measure performance. For classification, common metrics include accuracy, precision, and recall.

Overfitting

Overfitting happens when a model learns the training set too well, including noise or irrelevant details. It may score highly on training data but poorly on new examples.

Common metrics

MetricWhat it tells you
AccuracyFraction of correct predictions
PrecisionHow many predicted positives were truly positive
RecallHow many true positives were found
LossOverall prediction error
⚠️

Watch for Overfitting

If training performance keeps improving while validation performance gets worse, the model may be overfitting.

What is overfitting?

Why do we care about validation performance?

Which metric is a fraction of correct predictions?