Book a free call

Machine Learning Taxonomy: The Main Branches Explained

Machine learning splits into a few main branches, each with its own data and goal. This guide maps them, so you can tell which branch a problem belongs to.

Hertiv engineering teamReviewed by a senior engineer
5 min read
Machine Learning Taxonomy: The Main Branches Explained
On this page

Short answer

A machine learning taxonomy is a map of the field's main branches: supervised learning, unsupervised learning, reinforcement learning and the deep learning methods that cut across them. Each branch learns from a different kind of data and suits a different kind of problem.

What is a machine learning taxonomy?

A machine learning taxonomy is a map of the field's main branches. It groups methods by what they learn from and what they are used for, so a team can tell which branch a problem belongs to before choosing a tool.

The map has four main branches. Supervised learning learns from labelled examples, unsupervised learning finds structure in unlabelled data, reinforcement learning learns by trial and reward, and deep learning is a set of methods that can work inside any of the three.

BranchWhat it learns fromTypical task
Supervised learningLabelled examplesClassify or predict a value
Unsupervised learningUnlabelled dataGroup similar items, find patterns
Reinforcement learningRewards from trial and errorChoose actions over time
Deep learningLarge data, often with neural networksImages, speech, text

Below the branches sit the methods: regression, trees, clustering, neural networks and more. The branches tell you the shape of the problem; the methods tell you the tool to use.

Supervised learning: learning from labelled examples

Supervised learning learns from examples that already have the right answer attached. A model sees thousands of past cases, each with its label, and learns the pattern that connects the inputs to the label.

The two main tasks are classification and regression. Classification sorts things into groups, such as spam or not spam, while regression predicts a number, such as a house price or a delivery time. Common methods include logistic regression, decision trees, random forests and gradient boosting.

Supervised learning is the most widely used branch, because most business problems have a clear right answer in past data. Its main cost is the labels: someone has to create them, and bad labels teach the model the wrong pattern.

For the methods themselves, see the guide to machine learning algorithms worth knowing and when to use each one.

Unsupervised learning: finding structure without labels

Unsupervised learning works on data with no labels at all. Instead of predicting an answer, it finds structure: groups of similar items, unusual cases, or a simpler way to describe the data.

Clustering is the best-known task: grouping customers by buying habits or grouping documents by topic. Anomaly detection is the other main task: finding the transactions, readings or events that do not fit the normal pattern.

Unsupervised methods are useful when labels do not exist or would be too costly to create. The trade-off is that the results need a human to check them: a cluster is only useful if someone can explain what it means.

Common methods include k-means clustering, hierarchical clustering, principal component analysis and autoencoders. They are often the first step in a project, used to explore data before a supervised model is built.

Reinforcement learning: learning by trial and reward

Reinforcement learning learns by trying actions and keeping the ones that earn a reward. An agent acts in an environment, receives a score for each action, and gradually learns a strategy that earns the highest total reward.

The classic examples are games, robotics and control systems. A game-playing agent tries millions of moves and keeps the ones that win. A warehouse robot learns the fastest route to a shelf by trying routes and measuring the time.

This branch is powerful but costly: it needs many trials, and a bad trial in the real world can break things. Teams usually train the agent in a simulation first, then move it to the real system with limits on what it may do.

Reinforcement learning suits problems where the goal is a sequence of decisions, not a single prediction. If the problem is one prediction from one input, supervised learning is the simpler choice.

Where do deep learning, NLP and vision fit?

Deep learning is not a separate branch: it is a set of methods, mostly neural networks with many layers, that can work inside supervised, unsupervised or reinforcement learning. It earns its place on the map because it handles data that older methods struggle with: images, audio and long text.

Natural language processing and computer vision are application areas, not branches. A vision task such as recognising a product in a photo is usually supervised learning with a deep neural network. A text task such as summarising a document can be supervised, unsupervised or reinforcement learning, depending on the setup.

Generative AI sits across the map too. Large language models are trained with a mix of unsupervised learning on huge text collections and reinforcement learning from human feedback, then tuned with supervised examples.

When you read a new method, ask two questions: what kind of data does it learn from, and what kind of task does it solve. The answers place it on the map.

Example (hypothetical): sorting support tickets with the taxonomy

Example (hypothetical): a support team receives 1,000 tickets a week and wants to sort them faster. The team leader uses the taxonomy to break the problem into three parts.

First, supervised learning: the team has 20,000 old tickets already tagged by category, so a classifier learns to tag new tickets. Second, unsupervised learning: clustering finds a new group of tickets about a recent outage that nobody had tagged yet. Third, reinforcement learning is not needed, because the task is a single prediction per ticket, not a sequence of decisions.

The numbers add up: the classifier tags 800 of the 1,000 tickets correctly, 150 need a quick human check, and 50 are wrong and get fixed by the team. The team saves about 12 hours a week, and the corrected tickets become new labels that improve the classifier.

The taxonomy did the useful work here: it stopped the team from reaching for a complex method when a simple classifier was the right branch.

What are the common mistakes?

The most common taxonomy mistakes are choosing a branch before understanding the data, treating deep learning as a branch of its own, and expecting a method to fix bad data.

  • Branch before data. If you have no labels, supervised learning is not an option, however good it sounds.
  • Deep learning as a branch. Deep learning is a method, not a branch. Ask first whether the problem is supervised, unsupervised or reinforcement learning.
  • Method over data. A better algorithm cannot fix missing, wrong or biased labels.
  • One branch for everything. Most real products mix branches: clustering to explore, supervised learning to predict, rules to handle the edge cases.
  • Skipping the human check. Unsupervised results and model outputs both need a person to confirm they mean something useful.

For a plain introduction to the field itself, start with what machine learning is and how it works.

For build help, see machine learning development.

Key takeaways

  • The map has four branches: supervised, unsupervised, reinforcement learning and the deep learning methods that cut across them
  • Supervised learning needs labelled examples; without labels, it is not an option
  • Unsupervised learning finds groups and anomalies, and needs a human to check the meaning
  • Deep learning is a method, not a branch: ask what data it learns from first
  • Most real products mix branches, plus rules for the edge cases

Frequently asked questions

What is the difference between supervised and unsupervised learning?

Supervised learning trains on examples with known answers, such as tickets already tagged by category. Unsupervised learning works on data with no answers, finding groups and patterns instead. The first predicts, the second explores.

Is deep learning a type of machine learning?

Yes. Deep learning is a set of machine learning methods based on neural networks with many layers. It is not a separate branch: it can be used for supervised, unsupervised or reinforcement learning tasks.

Where does generative AI fit in the taxonomy?

Generative AI sits across the map. Large language models are trained on huge text collections without labels, then tuned with supervised examples and reinforcement learning from human feedback. The branch depends on the training step, not the product.

How do I choose a branch for my problem?

Start with the data and the task. If you have labelled examples and a clear answer to predict, use supervised learning. If you have no labels, use unsupervised learning to explore. If the problem is a sequence of decisions, consider reinforcement learning.

What is the difference between classification and regression?

Classification sorts an input into a group, such as spam or not spam. Regression predicts a number, such as a price or a waiting time. Both are supervised learning tasks, and the choice depends on what the answer looks like.

Do I need to know the taxonomy to build a model?

Not to build a first model, but it helps you avoid the most common error: picking a method that does not fit the data. The taxonomy is a quick check before you spend weeks on a branch that cannot work for your problem.

Found this useful? Share it.
Hertiv engineering team

Written from projects we build for clients: AI and agent systems in production. Every post is reviewed by a senior engineer before publishing and updated when practice changes.

About HertivHow we work

Planning a machine learning product? Talk to Hertiv.

A senior engineer replies within one business day. Or see our Machine Learning Development service.

Book a free call

Keep reading

All posts

Tell us what you want to build

A senior engineer reads every request and replies within one business day with questions, a rough range, or a call link.

  • NDA on request before any details
  • You own all code, models and IP
  • US, UK and EU time-zone overlap

Your email app should open with your message ready to send. If it does not, write to [email protected].

Prefer email? Write to [email protected]
Estimate costBook a call