DriversRecommendedOutdated drivers can make a good PC feel brokenScan driver issues before chasing fixes manually.Scan NowOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsSlow PC?RecommendedPC slow today? Run a repair scan before it gets worseResolve common Windows issues and optimize system performance.Scan Now×
Skip to content
World desk3 min

What Supervised Machine Learning Means: Features, Labels, and Examples

Supervised machine learning learns from examples with known labels to predict categories or numeric values for new data.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Supervised machine learning trains a model on examples that pair input data with a known answer. The model learns a relationship between the inputs, called features, and the answer it is meant to predict, called the label. It can then use that relationship to predict labels for new examples. The two common task types are classification, which predicts categories, and regression, which predicts numeric values.

What are features and labels?

Features are the information supplied to a model; a label is the target answer associated with that information. Together, the features and label make a labeled example. For instance, a rainfall example might use temperature, humidity, air pressure, and wind as features, with the measured rainfall amount as its label. The model learns from many such pairs rather than being given a hand-written rule for every possible combination.

As an Amazon Associate I earn from qualifying purchases.

During training, the model makes predictions from the features and compares them with the known labels. The difference between a prediction and the correct label is called loss; training adjusts the model to reduce that difference. Google for Developers explains supervised learning, features, labels, and loss.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

What kinds of predictions can supervised learning make?

The right task type depends on what the target label represents.

Classification predicts a category

A classification model assigns an example to a category. An email spam filter, for example, predicts a label such as “spam” or “not spam.” Handwritten-digit recognition is another classification task: the model selects one digit category from a finite set. The scikit-learn 1.4.2 tutorial uses handwritten digits to illustrate classification.

Regression predicts a number

A regression model predicts a numeric value. If the target is rainfall amount, the model’s output is a number rather than a category. Predicting a house price is another example of a numeric target. The distinction is about the kind of answer being predicted, not which approach is inherently better.

Rank #2
Sale
Hands-On Machine Learning with Scikit-Learn, Keras, and TensorFlow: Concepts, Tools, and Techniques to Build Intelligent Systems
  • Use scikit-learn to track an example ML project end to end
  • Explore several models, including support vector machines, decision trees, random forests, and ensemble methods
  • Exploit unsupervised learning techniques such as dimensionality reduction, clustering, and anomaly detection
  • Dive into neural net architectures, including convolutional nets, recurrent nets, generative adversarial networks, autoencoders, diffusion models, and transformers
  • Use TensorFlow and Keras to build and train neural nets for computer vision, natural language processing, generative models, and deep reinforcement learning

How does training become a prediction?

Supervised learning usually involves three distinct stages. Training fits the model; evaluation checks its performance; inference uses the trained model to make predictions.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  1. Train: Provide labeled examples. The model uses their features to predict the labels and adjusts its learned relationship based on the prediction errors.
  2. Evaluate: Compare predictions with known labels. A held-out test set—examples not used to fit the model—helps estimate performance on unseen examples. The scikit-learn tutorial describes splitting data into training and test sets.
  3. Infer: Give the trained model a new example’s features. It returns a predicted label, which may be a category or a number; the label for that new example is not yet known.

Evaluation is evidence about performance on the evaluated data, not a guarantee of equal performance in every real-world setting. Results depend in part on whether the examples represent the conditions in which the model will be used.

How is supervised learning different from unsupervised learning?

The key question is whether the training examples include the target the model is meant to predict.

Approach What the training or feedback provides Typical aim
Supervised learning Examples paired with known target labels Predict a specified target, such as a category or numeric value
Unsupervised learning Data without corresponding target values Find groupings or other structure in the data
Reinforcement learning Actions in an environment and rewards or penalties Learn behavior through feedback from the environment

These approaches address different kinds of problems; the distinction does not mean that one is universally better. Google’s overview of machine-learning types describes supervised, unsupervised, and reinforcement learning.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Why do data coverage and evaluation matter?

A large dataset does not necessarily cover the situations a model will encounter. For example, data collected across many years but only during one month may fail to represent other seasons. Diversity and coverage of relevant conditions matter alongside the number of examples.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Use held-out examples that reflect the intended use as part of evaluation, and treat the result as an estimate tied to those data—not proof that performance will transfer to every population or setting. There is no universal minimum number of training examples established here; what is sufficient depends on the task and the data.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Crashes, No Sound, or Screen Glitches?Free driver scan
PC Slower Than It Used to Be?Free scan - under a minute

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.