First exams 2027 · SL & HL

A4.1.1 · Machine learning fundamentals

Types of Machine Learning

Every machine learning system falls into one of a small number of families, and which family it belongs to depends on one simple question: what does the algorithm actually get told about the "right answer" while it's learning?

Core for SL & HL Typically 4–6 marks · AO1/AO2 Command term: describe
A4's own guiding question

What principles and approaches should be considered to ensure machine learning models produce accurate results ethically? Every statement in this topic comes back to this question, and knowing what a machine learning model actually is, and which of the five families it belongs to, is the first step toward being able to evaluate it responsibly.

Explainer

Machine learning and artificial intelligence get used almost interchangeably in everyday conversation, but they aren't the same thing.

Df

Artificial intelligence (AI) is the broad goal of building systems that can perform tasks normally requiring human-level judgement. Machine learning (ML) is one specific way of reaching that goal: instead of a programmer writing out every rule by hand, the system is given data and left to work out its own rules for the task, adjusting itself as it sees more examples.

Worked example

Five machine learning families

What separates one type from another is how much the algorithm is told about the correct answer while it trains, and where that information (or lack of it) actually comes from. Click each one to see a distinct real-world scenario for it.

Reference

Six required real-world applications

The syllabus names six specific applications you're expected to know, each one naturally suited to a particular type (or combination of types) of machine learning.

ApplicationBest-fit type(s)Why
Market basket analysisUnsupervisedNo "correct" combination of products is ever labelled in advance, the algorithm just looks for items that keep turning up together.
Medical imaging diagnosticsSupervised, deep learningNeeds scans already labelled with a confirmed diagnosis, and a many-layered network able to pick out subtle visual detail a human might miss.
Natural language processingDeep learning, transfer learningLanguage structure is intricate and layered; a model pre-trained on huge amounts of text gets fine-tuned for the specific task at hand.
Object detection and classificationSupervised, deep learningNeeds images already labelled with what's inside them, and a many-layered network to recognise shapes built out of smaller shapes.
Robotics navigationReinforcementThere's no labelled "correct path" to learn from in advance, so the robot learns by trying routes and being rewarded for avoiding obstacles.
Sentiment analysisSupervisedNeeds text already labelled positive or negative, so the model can learn the mapping from wording to sentiment.

Check your understanding

A supermarket wants to know which products are frequently bought together, without knowing in advance what those combinations might be. Which type of machine learning best fits this problem?

Common mistake

A recurring confusion flagged directly for this exact term

RecurringA genuinely documented pattern: candidates describe deep learning as if it were a sixth, entirely separate category sitting alongside supervised, unsupervised, reinforcement and transfer learning. It isn't. Deep learning describes HOW an algorithm is built, using a many-layered neural network, rather than WHAT it's being asked to learn. A supervised learning task, an unsupervised one, or a reinforcement one can each be built using deep learning or without it.

✕

Treats deep learning as a sixth, separate category: "There are five machine learning categories: supervised, unsupervised, reinforcement, transfer, and deep learning." Lists deep learning alongside the other four as if it answered the same question they do, when it actually answers a different one entirely.

✓

Places deep learning on its own dimension: "Supervised, unsupervised, reinforcement and transfer learning describe what an algorithm learns from. Deep learning describes how it's built, a many-layered neural network, and any of those four approaches can be implemented using it." Correctly separates the "what it learns from" question from the "how it's built" question.

Revision questions

Past-paper style. Write an answer, then reveal the marking points and mark yourself.

Question 1 · 2 marks

[2]Define the term machine learning, and state how it differs from artificial intelligence.

Question 2 · 4 marks

[4]Distinguish between supervised learning and unsupervised learning, referring to what each does and does not receive as part of its training data.

Question 3 · 6 marks

[6]A city council wants to build a system that adjusts traffic light timing in real time based on the outcome of its previous decisions. Identify the most suitable type of machine learning for this problem and justify your choice.

Flashcards

Active recall for this statement’s key terms.