




























































































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:Classification and Regression, Linear Models, Linear Least Squares Method, Logistic Regression, Linear Regression, Mean Square Error, Fixed Basis Functions, Vector Random Variable, Identity Matrix, Covariance Matrix
Typology: Slides
1 / 108
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.
We have discussed linear least squares method.
PR NPTEL course – p.2/
We have been considering learning linear models forclassification and regression.
We have discussed linear least squares method.
We have also looked at some generalizations such aslogistic regression.
In this class we discuss some more issues connectedwith least squares method.
PR NPTEL course – p.4/
PR NPTEL course – p.5/
The 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/
The 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/
We saw that this framework is also useful for learninglinear classifiers. For example, we can take y
i
and use sign of
f
to make the
classification decision.
PR NPTEL course – p.10/
We saw that this framework is also useful for learninglinear classifiers. For example, we can take y
i
and use sign of
f
to make the
classification decision.
The criterion is to minimize mean square error:
n
i
=
T
i
y
i
2 PR NPTEL course – p.11/
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.13/
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
.
In the general case of fixed basis functions, the
i
th
row
of matrix
would be
φ
0
i
φ
d
′
i
. PR NPTEL course – p.14/
In most applications, our observations or data wouldbe noisy.
We can take the
i
to be fixed and the observed
y
i
to
be random.
PR NPTEL course – p.16/
In most applications, our observations or data wouldbe noisy.
We can take the
i
to be fixed and the observed
y
i
to
be random.
Often, we get data by measuring
y
i
for specific value
of
i
. Hence this is a useful scenario.
PR NPTEL course – p.17/
In most applications, our observations or data wouldbe noisy.
We can take the
i
to be fixed and the observed
y
i
to
be random.
Often, we get data by measuring
y
i
for specific value
of
i
. Hence this is a useful scenario. -
Now the
∗
obtained through linear least squares
regression would also be random.
Hence we would like to know its variance.
PR NPTEL course – p.19/
We assume that noise corrupting different
y
i
are iid
and zero-mean.
PR NPTEL course – p.20/