
Machine Learning (ML) is the branch of AI in which systems learn to perform a task from examples and data, rather than being explicitly programmed with rules. Instead of a human writing instructions for every case, the system discovers the patterns itself.
What it means in plain English
Traditional programming is “rules in, answers out”: a developer writes the logic, and the computer follows it. Machine learning flips this to “examples in, rules out”: you show the system thousands of examples, and it works out the underlying pattern on its own. That learned pattern is called a model, and you then use it to make predictions on new data it has never seen.
This is why ML is so powerful for problems that are impossible to write rules for. No one could write down every rule that distinguishes a cat from a dog in a photo — but show a model enough labelled examples of each, and it learns the distinction reliably.
A simple example
A streaming service recommending shows uses machine learning. It doesn’t have a hand-written rule saying “people who watch X will like Y.” Instead, it learns from the viewing patterns of millions of users and predicts what you’re likely to enjoy based on what similar viewers watched. The more data it sees, the better its predictions get.
Why it matters
Machine learning is the engine behind almost all modern AI. When people say a product “uses AI,” they usually mean it uses machine learning. The major sub-fields — deep learning, and the neural networks that power today’s chatbots and image generators — are all forms of machine learning. Grasping this one concept unlocks most of the rest of the field.
Related terms
- Deep Learning — a powerful type of machine learning using large neural networks.
- Training Data — the examples a model learns from.
- Model — the learned pattern that makes predictions.
- Supervised Learning — the most common form, learning from labelled examples.
Frequently asked questions
What is machine learning?
Machine learning is a branch of AI where systems learn patterns from data to make predictions or decisions, rather than being explicitly programmed with rules.
What are the main types of machine learning?
The three broad types are supervised learning (labelled data), unsupervised learning (finding structure in unlabeled data), and reinforcement learning (learning from rewards).