AI Foundations

What Is Supervised Learning?

Supervised learning trains a model using examples paired with known target labels or values. The model learns a mapping that can be applied to new examples.

Training compares predictions with target values and adjusts model parameters to reduce a loss function. The model is then evaluated on data it did not train on.

Two practical examples

Example 1. An email classifier learns from messages labeled spam or legitimate.

Example 2. A house-price model learns from home features paired with historical sale prices.

What to check in practice

  • Identify the exact device, software version or service involved before changing a setting.
  • Record the current configuration so you can reverse a change that causes problems.
  • Test one variable at a time and confirm the result using reliable measurements or logs.
  • Use the official documentation for model-specific limits, compatibility and safety requirements.
Important consideration

Poor labels and unrepresentative data produce poor predictions. Keep training and test data separate to avoid misleading evaluation.

Common question

What is the first thing to do? Start by identifying the exact use case and the system involved. Then verify the relevant settings or measurements before making changes. A general explanation is a starting point, not a substitute for checking your own environment.

TryHook publishes independent educational explainers. Product names and technical standards belong to their respective owners. Some pages may eventually contain clearly disclosed affiliate links; editorial explanations are not paid endorsements.

Explore more in AI Foundations

Continue with related beginner-friendly guides.

AI vs Machine Learning vs Deep LearningRead guideWhat Is a Large Language Model?Read guide