The basics

What is supervised learning?

In short

Supervised learning is training an AI model on examples where the correct answer is known, such as emails labeled spam or not spam, so it learns to predict the answer for new examples. It is the most common type of machine learning in business.

The 'supervision' is the labels: every training example comes with the right answer. The model adjusts itself until its guesses match those answers, then is tested on examples it has not seen. Unsupervised learning, by contrast, finds groups and patterns without answers.

Mini course

3 short lessons, about 2 minutes in total

  1. Learning with an answer key
  2. Testing fairly
  3. Its place today

Lesson 1

Learning with an answer key

Imagine studying with an answer key: you try a problem, check the answer, adjust. Supervised learning works the same way. The model gets an example, guesses, compares with the correct label and adjusts its parameters. After many rounds it can predict answers for new examples.

Training
New case answered
The model studies many examples with known answers, then predicts the answer for new cases it has never seen

Tap a box to open that concept

There are two main types: classification, which picks a category, and regression, which predicts a number.

Lesson 2

Testing fairly

A model that memorized its training examples can look perfect and still fail on new data. So some labeled examples are held back and used only for testing. The score on that unseen data is the honest measure.

Watch out when the world changes: a model trained on last year's customers may not fit this year's.

Lesson 3

Its place today

Large language models have taken over many text tasks that once needed a custom supervised model. But supervised learning remains the right tool for structured data such as numbers, transactions and sensor readings, where it is fast, cheap and well understood.

  1. Customers find youHow customers and AI tools find the companySEOGEOGoogle AI Overviews
  2. AI in daily workTools staff and customers useChatbotAI copilotVoice AI
  3. Building blocksHow AI connects to data and systemsRAG (retrieval-augmented generation)AI agentMCP (Model Context Protocol)
  4. AI modelsThe models that understand and createSupervised learningLarge language model (LLM)Generative AIMachine learning
  5. DataCompany data, gathered and cleanedData warehouseETLData quality
  6. InfrastructureCloud, networks and systems underneathCloud computingDatabaseAPI key
Trust and rulesSecurity, law and control in every layerGDPR and AIEU AI ActAI guardrails
Where Supervised learning sits in a company's AI setup

A good rule: for text, try a language model first. For tables of numbers, a classic supervised model is often better.

An everyday example

A bank trains a model on thousands of past loans marked 'repaid' or 'defaulted', and the model then estimates the risk for new applications.

How companies use it

Companies use supervised learning for credit scoring, spam and fraud detection, demand forecasting, defect detection and sorting documents or tickets.

Frequently asked questions

What is unsupervised learning?

Learning without labeled answers, for example grouping customers into segments by behavior.

How is this different from using ChatGPT?

Language models are pre-trained on huge data and used through prompts. Supervised learning usually builds a narrow model for one task from your own labeled data.

What is the biggest risk?

Biased or wrong labels. The model learns whatever patterns the examples contain, including unfair ones.

In depth: Supervised learning

The full picture, about 4 minutes of reading

Learning with an answer key

Supervised learning is a way of training an AI model on examples where the correct answer is already known. Each example comes with a label, the right answer for that case: this email is spam, this loan was repaid, this part was faulty, this week we sold this many units. The model studies the examples and learns to predict the label for new cases it has never seen.

The "supervision" is the labels. It is like studying with an answer key: you try a problem, check the answer and adjust how you think. Supervised learning is the most common kind of machine learning in business, where machine learning means software that learns patterns from data instead of following hand-written rules.

Two kinds of questions it answers

Supervised learning handles two main kinds of tasks. Classification picks a category: spam or not spam, fraud or normal, which department a support ticket belongs to, whether a customer is likely to leave. Regression predicts a number: next month's sales, the price a house will sell for, how many days a delivery will take.

Both rest on the same idea. If the past contains a pattern linking the information you have, such as the customer's history or the weather, to the outcome you care about, a model can learn that pattern and apply it to new cases.

How training works, step by step

First, collect examples and their labels. Often the labels already exist in your systems, such as whether each invoice was paid on time. Sometimes people have to add them by hand, which is called data labeling. Second, split the data: most of it for training, and a part held back that the model never sees during training.

Third, train. The model makes a guess for each training example, compares it with the label and adjusts its internal settings, its parameters, to reduce the error. This repeats many times over the data. Fourth, test on the held-back examples. That score is the honest measure, because a model that only memorized its training data can look perfect there and still fail on anything new.

Finally, put the model to use and keep checking it. The world changes, and a model trained on last year's customers may slowly drift away from this year's reality.

Where it goes wrong

The model learns whatever patterns its examples contain, including wrong and unfair ones. If the labels are wrong, the model learns the mistakes. If past decisions were biased, for example in hiring or lending, the model can repeat that bias, even if sensitive details such as gender were removed, because other data can stand in for them.

Other problems are subtler. A model can find a shortcut that predicts well in training but makes no sense in reality, such as linking a defect to the camera that took the photo rather than to the part. Too few examples of rare cases, such as fraud, leave the model unable to spot them. And information that would not be available at the time of the real decision can sneak into the training data and make results look far better than they will be in practice.

Its place next to language models

Large language models, such as those behind ChatGPT and Claude, are trained differently. They learn first from huge amounts of text without labels, and are then used through prompts. For many text tasks, such as sorting emails or extracting facts, they now do well without anyone training a model for the job.

Supervised learning remains the right tool for structured data: numbers, transactions, sensor readings and tables with history. There it is fast, cheap to run, well understood and easier to explain and test. A good rule is to try a language model first for text, and a classic supervised model first for tables of numbers.

What it means for a small business

Many tools a small business already uses rely on supervised learning: spam filters, fraud checks in payment services, forecasts in sales and inventory systems, and suggestions for how to book transactions in accounting software.

Building your own model is worth considering when you make the same prediction often, have a solid history of past cases with known outcomes and can measure the benefit of getting it right more often. Demand forecasting, payment risk and lead scoring are typical candidates. Before starting, check that the data is consistent and the outcomes are recorded reliably, and decide how a person will review the model's suggestions.

Curious what this could mean for your company? Book a call.

Book a call