




























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





























































































We have been considering learning linear models forclassification and regression.
PR NPTEL course – p.1/
We have been considering learning linear models forclassification and regression.
Perceptron is a classical algorithm for learning linearclassifiers.
PR NPTEL course – p.2/
We have been considering learning linear models forclassification and regression.
Perceptron is a classical algorithm for learning linearclassifiers.
It can learn a separating hyperplane if the data islinearly separable.
We have also discussed learning linear models usingleast squares method.
PR NPTEL course – p.4/
We have been considering learning linear models forclassification and regression.
Perceptron is a classical algorithm for learning linearclassifiers.
It can learn a separating hyperplane if the data islinearly separable.
We have also discussed learning linear models usingleast squares method.
This is a general method applicable for learning inboth classification and regression problems.
PR NPTEL course – p.5/
Given training data:
i
, y
i
, i
, n
,
i
d
, y
i
i
.
The objective is to learn a linear model:
y
f
T
w
0
PR NPTEL course – p.7/
Given training data:
i
, y
i
, i
, n
,
i
d
, y
i
i
.
The objective is to learn a linear model:
y
f
T
w
0
(or,
f
T
, when using augumented vectors).
PR NPTEL course – p.8/
The criterion is to minimize mean square error:
n
i
=
T
i
y
i
2 PR NPTEL course – p.10/
The criterion is to minimize mean square error:
n
i
=
T
i
y
i
2
We saw that the minimizer of
is given by
∗
T
−
1
T
where
is a
n
d
matrix whose rows are the
i
and
is
n
vector whose components are
y
i
.
PR NPTEL course – p.11/
We also considered a gradient descent method forfinding the minimizer of
.
We saw the LMS algorithm which is an incrementalvariant of the gradient descent method.
PR NPTEL course – p.13/
We also considered a gradient descent method forfinding the minimizer of
.
We saw the LMS algorithm which is an incrementalvariant of the gradient descent method.
We consider this in more detail now.
PR NPTEL course – p.14/
We are finding
∗
that minimizes
n
i
=
T i
y
i
2
We could have found the minimum through aniterative scheme using gradient descent.
PR NPTEL course – p.16/
We are finding
∗
that minimizes
n
i
=
T i
y
i
2
We could have found the minimum through aniterative scheme using gradient descent.
The gradient of
is given by
n
i
=
i
T i
y
i
PR NPTEL course – p.17/
The iterative gradient descent scheme would be
k
k
η
n
i
=
i
T i
k
y
i
In analogy with what we saw in Perceptron algorithm,this can be viewd as a ‘batch’ version.
PR NPTEL course – p.19/
The iterative gradient descent scheme would be
k
k
η
n
i
=
i
T i
k
y
i
In analogy with what we saw in Perceptron algorithm,this can be viewd as a ‘batch’ version.
We use the current
to find the errors on all training
data and then do all the ‘corrections’ together.
PR NPTEL course – p.20/