latentbrief
← Back to concepts

Machine Learning

A way of teaching computers by showing them examples, rather than writing explicit rules - the engine behind almost everything labelled AI today.

Added May 21, 2026 · 2 min read

Machine learning is not one application among many - it is the foundation of modern AI. Voice recognition, image classification, recommendation systems, translation, large language models: all are forms of machine learning. Understanding it means understanding where the capabilities and limitations of these systems come from.

Traditional programming works by writing rules. You analyse a problem, break it into logical steps, and translate those steps into code. The program does exactly what you tell it, nothing more. This works well for tasks with clear, consistent rules - calculating a payroll, sorting a list, simulating physics. It fails for tasks where the rules are too complex to write down, or where they change depending on context.

Machine learning flips this. Instead of writing rules, you show the computer many examples of the problem and its correct answer, and the computer figures out the rules itself. Show a machine learning system ten thousand emails labelled "spam" and "not spam," and it learns to classify new emails without being told what patterns to look for. It discovers them itself.

The core mechanism is an objective function - a measure of how wrong the model's predictions are. During training, the model makes predictions, its error is measured, and its internal parameters are adjusted slightly to reduce that error. Repeat this millions of times across millions of examples and the model's predictions steadily improve. This process is called gradient descent.

Machine learning has several major subfields. Supervised learning is the most common: you provide labelled examples and the model learns to map inputs to outputs. Unsupervised learning finds patterns in data without labels. Reinforcement learning trains agents to make sequences of decisions by rewarding good outcomes. Most of what we call AI today is supervised or self-supervised learning applied at enormous scale.

The critical insight is that machine learning models do not just memorise their training data. They generalise: a model trained on labelled cat photos can identify a cat it has never seen before. This ability to generalise to new situations is what makes machine learning useful, and understanding its limits - where generalisation breaks down - is essential for using these systems reliably.

Analogy

Learning to drive by doing it thousands of times versus reading a rulebook. A rulebook can describe what to do at a red light, but it cannot capture every possible road situation. Actual driving experience, with immediate feedback on mistakes, produces a flexible competence that the rulebook alone never could. Machine learning is the "thousands of reps" approach applied to computers.

Real-world example

Spam filters are machine learning in daily life. No one programmed the filter with a list of spam words. Instead, it was trained on millions of emails that users had marked as spam or not spam. It learned the patterns - certain phrases, sender characteristics, link types - that correlate with spam, and now applies those patterns to new email it has never seen.

Why it matters

Machine learning is not one application among many - it is the foundation of modern AI. Voice recognition, image classification, recommendation systems, translation, large language models: all are forms of machine learning. Understanding it means understanding where the capabilities and limitations of these systems come from.

In the news

Related concepts