FOUNDATIONS · LESSON 4 OF 278

Training and Inference

Understand the difference between teaching a model and using a trained model.

What you will learn

Understand the difference between teaching a model and using a trained model.

In simple words

Training is the learning stage: the model studies examples and adjusts its internal parameters. Inference is the using stage: the trained model receives new input and produces a prediction or answer without relearning everything from the beginning.

Visual explanation: Two distinct phases

Training examples help update the model. During inference, a new input goes through the trained model to produce a prediction.

WATCH THE IDEA

Two distinct phases

Playing
Training examplesTrained modelNew predictionTrace the input as it becomes a useful output.
  1. 1Observe: Training examples
  2. 2Transformation: Trained model
  3. 3Outcome: New prediction

Observe: Training examples. Training examples help update the model. During inference, a new input goes through the trained model to produce a prediction.

The diagram highlights Training examples, Trained model, New prediction. Use the labels to trace the main relationship from left to right.

Real-world example: Credit-risk scoring

A bank trains a scorecard offline, then uses it to assess new applications in milliseconds.

What the team decides: Freeze and version the approved model for inference; retrain only through a governed process.

Risk to avoid: Letting live predictions silently change the model makes outcomes hard to audit.

Technical explanation

Training is the learning stage: the model studies examples and adjusts its internal parameters. Inference is the using stage: the trained model receives new input and produces a prediction or answer without relearning everything from the beginning.

Common misconception

This concept is not a guarantee of a correct outcome by itself. Its value depends on suitable evidence, careful implementation, and evaluation against the real task.

QUICK QUIZ

A model has already been trained and is now estimating the price of a new house. What is this stage called?

Practical application

Freeze and version the approved model for inference; retrain only through a governed process.

Key takeaway

Training is when a model learns; inference is when the trained model is used.

Next concept

Continue with Features and Labels.

Was this lesson helpful?

Lesson discussion

Comments are reviewed before publication. Keep discussion focused on learning and do not post private information.

Loading discussion…

Your quiz answer and current lesson are saved on this device. Sign in to explore account-backed learning features.

Content version 1 · Last reviewed 2026-10-16