What is machine learning?
What is it?
Machine learning is a type of artificial intelligence where a system learns from data rather than being given explicit rules. Instead of a programmer writing every instruction, the system finds patterns in large datasets and uses those patterns to make predictions or decisions.
In plain English
Imagine teaching a child to recognise dogs not by listing every rule ('four legs, fur, tail') but by showing them thousands of pictures of dogs and non-dogs until they can tell the difference. Machine learning works in a similar way — the system is shown lots of examples and learns from them.
A real-world example
Email spam filters use machine learning. They have been trained on millions of emails labelled as spam or not spam, so they can recognise patterns that suggest a new email is unwanted — even if they have never seen that exact email before.
Why it matters
Most modern AI applications — including the large language models behind tools like ChatGPT — are built on machine learning. Understanding the basic idea helps you appreciate why AI can be good at some tasks and poor at others.
What can go wrong?
If the training data contains errors, gaps or biases, the model will learn those too. A model trained mainly on data from one group of people may perform poorly for others. Models can also overfit — performing well on training data but poorly on new situations.
Have a go
Ask an AI tool: 'Can you give me a simple example of how machine learning works, using something from everyday life?' Compare the answer with this explanation.
Machine learning is a broad field with many sub-types. This explanation covers the core idea.
Progress is saved in your browser. Sign in to save it permanently.