← Learning Hub
Beginner

Types of Machine Learning

Choosing the right type of problem is the first decision in any ML project. Is there a known answer to learn (supervised)? Are you looking for hidden groups (unsupervised)? Is it learning by trial and reward (reinforcement)? The answer decides which tools to use.

1. Supervised learning

You give examples with the right answers. Two kinds:

  • Regression - predict a number: tomorrow's sales, a house price, delivery time
  • Classification - predict a group: spam or not, which category a product is in, will the customer buy

2. Unsupervised learning

No answers given. The computer finds structure by itself - for example, grouping customers who shop in similar ways (clustering).

3. Reinforcement learning

A program learns by trying actions and getting rewards, like a game player. Used for robots, games, and to fine-tune chatbots.

Which one is it?

Example
You can edit this code.

Deep learning and generative AI

Deep learning uses large neural networks (many layers of simple maths units). It powers image recognition, speech and translation. Generative AI - models that write text, code or images - is deep learning trained on huge amounts of data.

Key points
  • Supervised: regression (numbers) or classification (groups).
  • Unsupervised: clustering finds groups.
  • Reinforcement: learning from rewards.

📝 Test yourself

1. Predicting a delivery time in minutes is...
2. Grouping customers without given labels is...
3. Complete:
Predicting spam or not spam is .