4. • Machine Learning:
grew out of work in AI dream
giving new capability to computers
We can’t code every single thing, it is impossible. Machine
should be able to learn and how to make machine learn is
what we call machine learning algorithms
Still you have to code but to make machine learn.
Application: data mining, recommendation systems
5. Types
• 1) supervised learning algorithm: We teach
machine how to perform the task by providing
“right answers”
• 2) unsupervised learning algorithm: we let
machine learn by itself.
6. Supervised learning
• We teach by giving bunch of “right answers”
to some of the questions and ask algorithm to
produce more “right answers” to other
questions.
0 5 10 15 20 25 30 35 40 45
5
10
15
20
25
30
35
40
45
50
55
Square ft
X100k $
7. What is the price for 22 square ft?
0 5 10 15 20 25 30 35 40 45
5
10
15
20
25
30
35
40
45
50
55
Square ft
X100k $
So, if
machine can
learn the line
from the
training data
with real
answers
based on
that line it
can give real
answers for
other data.
This kind of
problem is
called
Regression
problem
8. Breast cancer or not?
This kind of problem
is called classification
problem
So, if machine can
learn the separator
from the training
data with real
answers based on
that separator it can
give real answers
for other data.
Age
Tumor size
9. • One may ask, a common man can also draw
these lines and predict.
• But common man cannot, when dimensions
increase.
• Just think if we start adding more features to
be able to predict more accurately.