Supervised, Unsupervised, and Reinforcement Learning: An Overview of the Different Types of Machine Learning

Osama Shakeel
2 min readDec 18, 2022

--

There are several different types of machine learning, which can be broadly classified into three categories: supervised learning, unsupervised learning, and reinforcement learning.

  1. Supervised learning:

In supervised learning, the model is trained on labeled data, where the correct output is provided for each example in the training set. The model makes predictions based on this input-output mapping. Examples of supervised learning tasks include classification (e.g., determining whether an email is a spam or not) and regression (e.g., predicting the price of a house based on its characteristics).

2. Unsupervised learning:

In unsupervised learning, the model is trained on unlabeled data, where the model must learn to identify patterns and relationships in the data without being given explicit guidance. Examples of unsupervised learning tasks include clustering (e.g., grouping together similar data points) and anomaly detection (e.g., identifying unusual patterns in data).

3. Reinforcement learning:

In reinforcement learning, the model is trained to make decisions in an interactive environment, where the model receives feedback in the form of rewards or punishments for its actions. The goal is to maximize the cumulative reward over time. Reinforcement learning is often used in robotics and control systems.

There are also several subtypes of machine learning, including semi-supervised learning (which involves training a model on a mix of labeled and unlabeled data), active learning (where the model can request additional labeled data to improve its performance), and online learning (where the model can learn from data in a continuous stream).

--

--

Osama Shakeel
Osama Shakeel

No responses yet