Machine learning
A way of building software that learns patterns from example data, instead of following rules a programmer wrote, and then applies them to new cases.
Machine learning is a way of building software that learns from examples instead of following rules a programmer wrote out. You show the system many cases where the answer is known, it adjusts a large set of internal numbers until its guesses match those answers, and then you use it on new cases where the answer is not known.
A concrete example: give a system ten thousand past invoices, each marked "paid on time" or "paid late". It will find the signals that predict late payment, such as customer size, invoice amount or the month, including combinations nobody thought to write down. That is supervised learning, because every example comes with an answer. Unsupervised learning looks for groupings in data with no answers attached, such as clusters of similar customers. Reinforcement learning learns by trial and error, collecting rewards for good outcomes.
The term was coined in 1959 by Arthur Samuel, an IBM researcher who built a checkers program that improved by playing. It was among the first successful self-learning programs, and Samuel picked checkers because the game is simple to describe but has real depth of strategy.
The method has a built-in limit: a model learns from the past. If the historical data is incomplete or biased, the model copies those flaws faithfully. If conditions change, a model trained on older data can quietly get worse. Good teams measure accuracy after launch, not just before.
Machine learning is the engine under almost all modern AI, including large language models. It is statistics at very large scale, and it is strongest on narrow, repeated decisions backed by plenty of good data. Before buying a product built on it, ask what data the model learned from and how its accuracy is checked over time.
Machine learning is a way of teaching computers by example. Instead of writing rules, you give the software lots of data where the right answer is known, and it adjusts itself until it can predict those answers. Once trained, it applies what it learned to new data. Spam filters, fraud alerts and product recommendations all work this way. Artificial intelligence is the broad goal of getting computers to do tasks that seem to need human intelligence. Machine learning is the main technique used to reach that goal today: systems learn patterns from data rather than following hand-written rules. All machine learning counts as AI, but some AI, such as older rule-based expert systems, does not use machine learning. There are three main types. Supervised learning trains on examples that come with the correct answer, such as emails labelled spam or not spam. Unsupervised learning finds structure in data with no answers attached, such as grouping similar customers. Reinforcement learning learns by trial and error, receiving rewards for good outcomes, which is how game-playing systems and some robots are trained. It depends on the task. A simple prediction with a few clear signals can work with a few thousand good examples. Recognising images from scratch has typically taken around a million labelled pictures, and large language models learn from hundreds of billions of words. Quality matters as much as quantity: accurate labels and data that reflect the real situation the model will face beat a larger pile of messy or outdated records.Common questions
What is machine learning in simple terms?
What is the difference between machine learning and AI?
What are the main types of machine learning?
How much data do you need for machine learning?
Try searching "machine learning crash course", "supervised vs unsupervised learning" and "model drift explained". Free courses from universities and from Google's developer site explain the core ideas with worked examples and need little maths to start. Encyclopedia entries with citations cover the history and the main algorithms. Treat product pages with care when they promise that a model "learns your business" without saying what data it trains on or how its accuracy is measured after it goes live.Finding more
Working out what this means for your business?
Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.