Supervised, Unsupervised & Reinforcement Learning

You might also like

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 11

Supervised, Unsupervised

&
Reinforcement Learning
Supervised Learning
This is where you feed the machine learning algorithm labelled training data. The
labels contain the expected outcome for that data. The machine used the labels
and training data to train the model.
Labelled data is split into training and test data
Not - Spam Examples

Spam Examples

Not - Spam Not - Spam

Spam Spam
Training data used to train the model

Training Data
SPAM Classifier
Not - Spam
Model
Spam
(e.g. Naive Bayes)
Trained model is ready to test

SPAM Classifier
Model

(e.g. Naive Bayes)


Model is then tested using the test data..
Test Data
Not - Spam

Spam

SPAM Classifier
Model

(e.g. Naive Bayes)

97%
Accuracy
The tested model is then ready to deploy

SPAM Classifier
Model
✔️
(e.g. Naive Bayes)
The trained model can then be deployed

SPAM Classifier
Model
✔️
(e.g. Naive Bayes)
Classification vs Linear Regression
Classification Regression

The aim of the algorithm is to split data into The aim of the algorithm is to predict the value
predefined categories. of a dependent variable based upon another
explanatory variable. The example shows
simple linear regression.
Unsupervised Learning

Machine learning algorithm is trained on unlabelled data and is left to cluster data
itself. Certain hyper-parameters may be set (such as how many clusters to form)
but the process is generally unstructured.
● Useful for categorising many different objects
● Identifying hidden trends or patterns
● Anomaly detection(e.g. fraudulent transactions, spotting skin cancer, crime
detection)
Clustering Algorithms
Clus
The aim of a clustering algorithm is to pick up te r
patterns that allow input data that can be
separated into groups.

● Used for object recognition in self driving


cars
● Market segmentation Anomaly
● Bioinformatics (e.g. DNA analysis)
● Mining Exploration

Depending on the implementation you might


specific the target number of groups.

You might also like