Foundations

What Is Machine Learning?

Machine learning is a branch of AI where systems learn patterns from data and improve their performance over time, rather than following explicitly programmed rules.

The Plain-English Explanation

Traditional software follows rigid instructions: "if X happens, do Y." Machine learning flips this. Instead of writing rules, you feed the system examples and let it figure out the rules itself. Show it 10,000 photos labelled "cat" and 10,000 labelled "not cat," and it learns to distinguish cats without anyone defining what a cat looks like.

This approach works because real-world problems are often too complex for hand-written rules. There's no simple rule set that captures every possible spam email or accurately translates between languages. Machine learning handles this complexity by finding patterns humans might never spot.

Why It Matters

Machine learning powers the AI tools you use daily — search engines, recommendation algorithms, voice assistants, fraud detection, and language models like ChatGPT. Understanding how it works helps you evaluate what AI can realistically do, set appropriate expectations, and identify where it's the right solution for a problem.

How It Works

There are three main approaches. Supervised learning uses labelled examples — like showing the system emails marked "spam" or "not spam" — so it learns to classify new emails. Unsupervised learning finds hidden patterns in unlabelled data, such as grouping customers by purchasing behaviour. Reinforcement learning trains systems through trial and error with rewards, which is how game-playing AIs and robotics systems learn.

In practice, you rarely interact with raw machine learning. The models are trained by engineers, then packaged into tools and apps you use without needing to understand the underlying mathematics.

Examples in Practice

Common Misconceptions

Myth: Machine learning and AI are the same thing.

Reality: Machine learning is one approach within the broader field of AI. It's the dominant approach today, but AI also includes other methods like rule-based systems and symbolic reasoning.

Myth: More data always means better results.

Reality: Data quality matters more than quantity. A model trained on biased, incomplete, or poorly labelled data will produce biased, unreliable outputs regardless of volume.

Myth: Machine learning models understand what they're doing.

Reality: They identify statistical patterns. A model that classifies X-rays doesn't understand medicine — it has learned which pixel patterns correlate with specific diagnoses in its training data.

Related Terms

Further Reading

Learn Machine Learning in Depth

Module 1 of AI Fundamentals walks you through how machine learning works, the different types, and what they mean for real-world applications — all in plain English.

Explore AI Fundamentals

Frequently Asked Questions

Do I need to know maths to understand machine learning?
To use ML-powered tools, no. To build ML models, some statistics and linear algebra helps, but our courses focus on practical understanding — what ML can do, when to use it, and how to evaluate results.
How is machine learning different from traditional programming?
Traditional programming: you write the rules, the computer follows them. Machine learning: you provide examples, the computer discovers the rules. ML is better for problems where the rules are too complex to write manually.
Can machine learning work without large datasets?
It depends on the task. Simple classification might need thousands of examples; large language models use trillions of words. Techniques like few-shot learning and transfer learning reduce data requirements significantly.
Back to AI Glossary