← 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.

Training a Simple Model

Manual: General · Subject: TensorFlow & AI Programming

Build intuition for learning from data by training a basic predictive model.

How Models Learn

Prediction and error

A model predicts a value y^\hat{y} from an input xx. The difference between prediction and truth is the error, often measured with a loss function. Training tries to reduce that loss.

From guess to improvement

At first, a model may guess poorly. With repeated updates, it can learn useful patterns and improve. This is similar to practicing with feedback until performance gets better.

Training Vocabulary

Loss
A number showing how wrong the model is
Optimizer
An algorithm that updates model parameters
Epoch
One full pass through the training data
Batch
A small group of training examples

Typical training loop

  1. 1

    Feed input data into the model.

  2. 2

    Compute predictions.

  3. 3

    Measure loss against the true labels.

  4. 4

    Update parameters to reduce loss.

  5. 5

    Repeat for many epochs.

What does loss measure?

What is an optimizer used for?

What is one epoch?