Skip to content
Nitmonk
AI Foundations

What is Machine Learning?

Supervised, unsupervised and reinforcement learning.

What is Machine Learning? — infographic explaining Supervised, unsupervised and reinforcement learning.
What is Machine Learning? — visual explainer by Nitmonk.

Machine Learning (ML) is a subset of AI that lets computers learn from data and improve at a task without being explicitly programmed. Rather than hand-coding rules, you give the algorithm examples and it discovers the patterns itself.

In simple terms

Instead of telling the computer exactly what to do, we give it data and let it learn the patterns.

How it works

  1. 1Data: collect relevant data from the real world.
  2. 2Learn: the algorithm finds patterns and learns from the data.
  3. 3Model: it builds a model that can make predictions or decisions.
  4. 4Predict: use the model on new, unseen data.
  5. 5Improve: the model gets better as it sees more data and feedback.

Key points

  • Supervised learning trains on labelled data — it learns the mapping from inputs to outputs (e.g. predicting house prices).
  • Unsupervised learning finds structure in unlabelled data (e.g. customer segmentation).
  • Reinforcement learning learns by trial and error through rewards and penalties (e.g. game-playing agents).
  • ML powers spam filters, recommendations, voice assistants and more.

Why it matters

ML is how software adapts to messy, real-world data. It lets systems make better decisions and keep improving as more data arrives, instead of being frozen at whatever rules a developer wrote.

Frequently asked questions

How is ML different from AI?
AI is the broad goal of intelligent machines; ML is one way to get there — by learning from data.
Does ML need labelled data?
Supervised learning does. Unsupervised and reinforcement learning work without labels.