What Is Machine Learning? A Plain-Language Explanation
Machine learning is a branch of artificial intelligence where systems learn patterns from data instead of being given explicit step-by-step instructions.
The short definition
Rather than programming every rule by hand, we feed examples to an algorithm, and it produces a model that can make predictions or decisions on new data.
An analogy: learning from examples
A child does not learn what a dog is from a written rule listing every dog. They see many dogs and gradually recognize the pattern. Machine learning works similarly: many examples, then recognition.
The three main types
Supervised learning
The training data includes correct answers, and the model learns to map inputs to outputs, such as labeling emails as spam or not.
Unsupervised learning
There are no predefined labels. The model finds structure, such as grouping similar customers.
Reinforcement learning
An agent learns through trial and error, receiving rewards for good actions and penalties for bad ones.
How it works in plain terms
- Collect and prepare data.
- Choose an algorithm.
- Train the model on examples.
- Test it on unseen data.
- Deploy and refine it over time.
Where it appears
- Recommendations and search.
- Fraud detection.
- Speech and image recognition.
- Forecasting.
- Language models, which are a specialized form of machine learning.
Machine learning vs AI vs deep learning
AI is the broad field. Machine learning is a subset of AI. Deep learning is a subset of machine learning using layered neural networks.
Limitations
- It depends on data quality and quantity.
- It can inherit bias.
- It may fail on data unlike its training set.
Key takeaways
- Machine learning learns patterns from data rather than explicit rules.
- Supervised, unsupervised, and reinforcement learning are the main approaches.
- Language models are one application of these ideas.
Read next: what deep learning is and what an LLM is.
Sources
Learn by doing
Read a guide, then practice with bite-sized AI lessons you can take offline.
Start learning free