Lesson 1
Lesson 1
2
What is this object?
3
What is this object?
CAR
CAR
BIKE
It is a CAR
BIKE
4
Let us ask the same question to him
What is this object?
5
Let us ask the same question to him
What is this object?
?
6
[ But, he is a human being. He can observe and
learn ]
Let us make him learn
show him
8
Let us make him learn
CAR
show him
CAR
BIKE
BIKE
9
Let us ask the same question now
What is this object?
CAR
CAR
BIKE
BIKE
Past experience 10
Let us ask the same question now
CAR What is this object?
CAR
CAR
BIKE
BIKE
11
What about a Machine ?
• Addition
• Multiplication
• Division
13
What about a Machine ?
• Comparison
• Plotting a chart
14
What is Machine Learning?
15
What is Machine Learning?
Price in 2025?
recognize face
[ Recognize Faces ]
19
What is Machine Learning?
[ What do we do?
20
What is Machine Learning?
[
This what we called as Data
or Training dataset
Dataset
21
What is Machine Learning?
+ +
[ Then, devise algorithms and execute programs on the
data
Dataset
22
What is Machine Learning?
+ + +
+ + +
24
What is Machine Learning?
+ + +
25
What is Machine Learning?
+ + + =
27
Machine Learning Paradigms
• Supervised
• Unsupervised Learning
• Reinforcement learning
[ We as human being solve various types of problem in our day-to-day life, <pause> Various decisions
need to be taken.
Depending on the nature of the problem, machine learning tasks can be broadly divided in ]
28
What is Supervised Learning?
CAR
CAR
+ BIKE
= Training Dataset
BIKE
Samples Labels
[In supervised learning, we need some thing called a Labelled Training Dataset ]
29
What is Supervised Learning?
CAR
CAR
+ BIKE
= Training Dataset 𝑓( , )=
BIKE
Samples Labels
[ Given a labelled dataset, the task is to devise a function which takes the dataset, and a new sample, and
produces an output value.]
30
What is Supervised Learning?
CAR
CAR
+ BIKE
= Training Dataset 𝑓( , )=
BIKE
Samples Labels
[ Given a labelled dataset, the task is to devise a function which takes the dataset, and a new sample, and
produces an output value.]
31
What is Supervised Learning?
CAR
CAR
+ BIKE
= Training Dataset 𝑓( , )= CAR
BIKE
Samples Labels
[ Given a labelled dataset, the task is to devise a function which takes the dataset, and a new sample, and
produces an output value.]
32
What is Supervised Learning?
CAR
Classification
CAR
+ BIKE
= Training Dataset 𝑓( , )= CAR
BIKE
Samples Labels
[ If the possible output values of the function are predefined and discrete/categorical, it is called
Classification
33
What is Supervised Learning?
CAR
Classification
CAR
+ BIKE
= Training Dataset 𝑓( , )= CAR
BIKE
Samples Labels
[ Predefined classes means, it will produce output only from the labels defined in the dataset. For example,
even if we input a bus, it will produce either CAR or BIKE ]
34
Classifier
Elephant
Elephant
Classifier
Dataset
35
Regression
Regression
𝑓( , )= 20500.50
Dataset
[ If the possible output values of the function are continuous real values, then it is called Regression
36
[
The classification and Regression problems are supervised, because the decision depends on the
characteristics of the ground truth labels or values present in the dataset, which we define as experience
]
37
What is Unsupervised Learning
CAR
CAR
BIKE
BIKE
Dataset
[ In the unsupervised learning, we do not need to know the labels or Ground truth values ]
38
What is Unsupervised Learning
Clustering
Dataset
[ The task is to identify the patterns like group the similar objects together ]
39
What is Unsupervised Learning
Dataset
41
More Example Unsupervised Learning
Dataset
42
More Example Unsupervised Learning
43
What is Reinforcement Learning
45
What is Reinforcement Learning
46
What is Reinforcement Learning
47
Another Example
48
Reinforcement Learning
Punishment
49
Reinforcement Learning
Reward
50
Reinforcement Learning
Reward
Baby Learn from the Trials and Errors
Reinforcement Learning 51
Summary