




























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
The main points are:Perceptron Algorithm, Learning of Linear Models, Vector-Valued Function, Linear Discriminant Functions, Vector Valued Targets, Linear Discriminant Analysis Method, Logistic Regression, Bayes Rule, Discontinuous Function
Typology: Slides
1 / 102
This page cannot be seen from the preview
Don't miss anything!





























































































We have been considering learning of linear modelsfor classification and regression.
PR NPTEL course – p.1/
We have been considering learning of linear modelsfor classification and regression.
We have looked at different methods such asPerceptron algorithm, linear least squares method,logistic regression, Fisher linear discriminant etc.
PR NPTEL course – p.2/
We have been considering learning of linear modelsfor classification and regression.
We have looked at different methods such asPerceptron algorithm, linear least squares method,logistic regression, Fisher linear discriminant etc.
We presented all the algorithms for 2-class problemsin case of classification and for learning a real-valuedfunction in case of regression.
As we briefly saw in the previous lecture, we cangeneralize these easily.
PR NPTEL course – p.4/
As we saw, learning a vector-valued function usingleast squares approach is a simple extension.
PR NPTEL course – p.5/
As we saw, learning a vector-valued function usingleast squares approach is a simple extension.
Given training data,
i
, y
i
, i
, n
where
i
d
and
y
i
y
1 i
, y
m i
m
, we want to learn
j
,
b
j
,
j
, m
so that
y
j
T
j
b
j
, j
, m
We can easily do this by essentially solving
m
number
linear least squares regression problems.
PR NPTEL course – p.7/
We also considered the multiclass case of linear leastsquares approach.
PR NPTEL course – p.8/
We also considered the multiclass case of linear leastsquares approach.
We can, in principle, solve a multiclass problem bylearning many 2-class classifiers.
we saw that we can do this by ‘one Vs rest’ or ‘one Vsone’ approach.
PR NPTEL course – p.10/
We also considered the multiclass case of linear leastsquares approach.
We can, in principle, solve a multiclass problem bylearning many 2-class classifiers.
we saw that we can do this by ‘one Vs rest’ or ‘one Vsone’ approach.
While these are often used, they are not fullysatisfactory extensions of linear discriminant functionsto the multiclass case.
PR NPTEL course – p.11/
Similar problem exists when we try ‘
i
Vs
j
’
approach
???
R
2
R
1
R
3
C
2
C
3
C
1
C
1
C
3
C
2
PR NPTEL course – p.13/
As we saw, we can formulate linear discriminantbased classifier for the multi-class case as follows.
PR NPTEL course – p.14/
As we saw, we can formulate linear discriminantbased classifier for the multi-class case as follows.
We will have
functions,
g
s
,
s
, given by
g
s
T
s
b
s
Now the classifier would assign class
j
to
if
g
j
g
s
s
(We have some rule for breaking ties).
PR NPTEL course – p.16/
As we saw, we can formulate linear discriminantbased classifier for the multi-class case as follows.
We will have
functions,
g
s
,
s
, given by
g
s
T
s
b
s
Now the classifier would assign class
j
to
if
g
j
g
s
s
(We have some rule for breaking ties).
This is same as the way we generalized Bayesclassifier to multi-class case.
PR NPTEL course – p.17/
To learn a linear classifier for the
-class case, we
need to learn the
functions
g
s
.
The simplest way to do this is to make the class labelto be a vector of
components.
PR NPTEL course – p.19/
To learn a linear classifier for the
-class case, we
need to learn the
functions
g
s
.
The simplest way to do this is to make the class labelto be a vector of
components.
If
i
j
then
y
i
would be a
-vector with
j
th
component one and all others zero.
PR NPTEL course – p.20/