1-Iml Lecture1 Intro
1-Iml Lecture1 Intro
MACHINE LEARNING
LECTURE 1
2
WHAT IS COMMON IN ALL THESE?
3
WHAT IS COMMON IN ALL THESE?
5
Me
Abi
Arthur Samuel(1959):
"the field of study that gives computers the ability to learn without being
explicitly programmed."
This is an older, informal definition.
7
WHAT IS MACHINE LEARNING?
Me
Abi
Abi: Well, that’s the buzz word everyone is talking about. Can you please let me know what
it is all about machine learning?
Me: Machine Learning is learning from data.
Abi : Learning from data? I don’t get it. You are talking to a layman so please talk in simpler
terms.
Me: Imagine you are going to bowling and its your first day, so what do you think how will
you perform?
Abi : I think very bad, I remember the first time I bowled I threw all the balls in the gutter.
Me: And what about today?
8
WHAT IS MACHINE LEARNING?
Me
Abi
Abi: Well, today I think I can easily drop at least 7 in one shot. But what this has to with
machine learning?
Me: I’ll explain, but how did you improve your game?
Abi: Well, its simple. I practiced and with time I got experience, I got to know that I need to
adjust the angle at which I am throwing the ball. Also I need to pick a lighter ball for better
accuracy.
Me: Well, so over time you got experience by tweaking some parameters and your game
improved. Right? This is machine Learning.
9
WHAT IS MACHINE LEARNING?
Learning by Machines
Machines → Computers
Learning → History
10
WHAT IS MACHINE LEARNING?
Tom Mitchell :
"A computer program is said to learn from experience E with respect to
some class of tasks T and performance measure P, if its performance at
tasks in T, as measured by P, improves with experience E."
11
WHAT IS MACHINE LEARNING?
Tom Mitchell :
"A computer program is said to learn from experience E with respect to
some class of tasks T and performance measure P, if its performance at
tasks in T, as measured by P, improves with experience E."
12
WHAT IS MACHINE LEARNING?
Suppose your Email program watches which emails you do or do not mark
as spam , and based on that learns how to better filter spam. What is the
task T in this scenario?
13
WHAT IS MACHINE LEARNING?
Suppose your Email program watches which emails you do or do not mark
as spam , and based on that learns how to better filter spam. What is the
task T in this scenario?
"A computer program is said to learn from experience E
with respect to some class of tasks T and performance
measure P, if its performance at tasks in T, as measured by
P, improves with experience E."
14
WHAT IS MACHINE LEARNING?
Examples
i) Handwriting recognition learning problem
• Task T : Recognizing and classifying handwritten words within images
• Performance P : Percent of words correctly classified
• Training experience E: A dataset of handwritten words with given classifications
Me
Abi
What?
Abi: Well, Ok! But how do machines experience ? They are not humans!
Me: Yes, Data :) Experience E corresponds to historical Data. Task T is to hit
the bulls eye in one go and P is the number of pins you drop in one go!
Abi: Hmm, but what do you mean by learn? Machines don’t have brain as
well.
Me: Exactly, this is where MATHEMATICS comes into picture! Machines
learn by some complex mathematics concepts, every data for them is in the
form of 0 and 1.
We don’t want to code the logic for our program instead we want a machine 16
to figure out logic from the data on its own.
WHAT IS MACHINE LEARNING?
Me
Abi
Abi: What do you mean that we do not need to code the logic?
Me: We do not have to write hardcode rules as we write in any
other programming language. For example: Suppose I have this
small data about Payroll of employees in the company:
Now if you need to find something from this data, what can you
infer?
Me Abi
• Abi: But this was pretty easy, even I could figure out the
relations in the data.
• Me: Well when the scale of the problem increases
Me Abi
Me Abi
Abi: But you only said we do not code the Algorithm and our focus
in on the data.
Me: Actually Data + Algorithm = Insights. Algorithms are already
developed for us and we need to know which Algorithm to use
when. This was just intuition of one type of Machine Learning, the
field is too big with lots of maths :)
20
WHY MACHINE LEARNING?
21
WHY MACHINE LEARNING?
Me Abi
22
WHY MACHINE LEARNING?
Me
Me Abi
23
WHY MACHINE LEARNING?
Me Abi
Abi: Great! So google incorporated Morse Code into Google Keyboard and it
knows the conversions now due to presence of large translated data. 24
Me: Yup!
WHY MACHINE LEARNING?
Me Abi
25
WHY MACHINE LEARNING?
Me Abi
26
WHY MACHINE LEARNING?
Me Abi
29
COMPONENTS OF MACHINE
LEARNING
30
LEARNING VS INTELLIGENCE
31
MAIN DIRECTIONS IN MACHINE
LEARNING
32
CLASSICAL MACHINE LEARNING
33
THE MAP OF THE MACHINE LEARNING WORLD
34
THANK YOU
35