1. Nazim Uddin Niaz
ID: C171073
Dept of CSE, IIUC
Introduction to
Machine Learning
1
2. What is Machine Learning?
Using data for answering questions
Training Predicting
2
3. Types of Machine Learning
Supervised
Reinforcement
Unsupervised
3
4. Types of Machine Learning
Supervised
Reinforcement
Unsupervised
4
Learn through examples of which we know
the desired output (what we want to
predict).
• Is this a cat or a dog?
• Are these emails spam or not?
• Is it an apple or not?
5. Types of Machine Learning
Supervised
Reinforcement
Unsupervised
5
6. Types of Machine Learning
Supervised
Reinforcement
Unsupervised
6
Why it is called supervised
machine learning?
It is called supervised learning
because the process of an algorithm
learning from the training dataset can
be thought of as a teacher
supervising the learning process.
7. Types of Machine Learning
Supervised
Reinforcement
Unsupervised
7
Regression
Classification
Output is a
discrete variable
(e.g.
male/female)
Output is
continuous (e.g.
salary based on
experience)
8. Types of Machine Learning
Supervised
Reinforcement
Unsupervised
8
Regression
• Is a measure of the relation
between the mean value of one
variable (e.g. output) and
corresponding values of other
variables (e.g. height & weight).
• regression analysis is a
statistical process for
estimating the relationships
among variables.
9. Types of Machine Learning
Supervised
Reinforcement
Unsupervised
9
Regression
• Regression means to
predict the output value
using training data
• Popular one is Linear
Regression
10. Types of Machine Learning
Supervised
Reinforcement
Unsupervised
10
Example of Supervised Learning
• Google Assistant
• Weather Forecast
• Biometric Registration
11. Types of Machine Learning
Supervised
Reinforcement
Unsupervised
11
Some famous supervised
learning algorithms
• Linear Regression
• Random Forest
• Support Vector Machine
12. Types of Machine Learning
Supervised
Reinforcement
Unsupervised
12
No labels are given to the
learning algorithm, leaving it on
its own to find structure in its
input.
There is no desired output.
The machine create groups of
the raw data by the
characteristics of that data
13. Types of Machine Learning
Supervised
Reinforcement
Unsupervised
13
14. Types of Machine Learning
Supervised
Reinforcement
Unsupervised
14
Why it is called Unsupervised
machine learning?
It is called unsupervised machine
learning because unlike
supervised machine learning
there is no leveled data set or
teacher to tell the machine what
data it is.
15. Types of Machine Learning
Supervised
Reinforcement
Unsupervised
15
Example of Unsupervised
Learning
• Clustering data
• Anomaly detection
• Recommend Products
17. Types of Machine Learning
Supervised
Reinforcement
Unsupervised
17
Reinforcement learning is about taking
suitable action to maximize reward in a
particular situation by the agent.
• An agent interacts with an environment
and watches the result of the
interaction.
• Environment gives feedback via a
positive or negative reward signal.
18. Types of Machine Learning
Supervised
Reinforcement
Unsupervised
18
19. Types of Machine Learning
Supervised
Reinforcement
Unsupervised
19
20. Types of Machine Learning
Supervised
Reinforcement
Unsupervised
20
21. Types of Machine Learning
Supervised
Reinforcement
Unsupervised
21
Example of Reinforcement
Learning
• Dynamic pricing
• Creating Best offer for Customer
• News Recommendation
22. Types of Machine Learning
Supervised
Reinforcement
Unsupervised
22
• SARSA–λ
• Q-Learning
Some Reinforcement learning
algorithms