Classification and Regression - Introduction to Pattern Recognition - Lecture Slides, Slides of Design and Analysis of Algorithms

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

2012/2013

Uploaded on 04/20/2013

padmaghira
padmaghira 🇮🇳

3.2

(5)

53 documents

1 / 108

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Recap
We have been considering learning linear models for
classification and regression.
PR NPTEL course p.1/108
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56
pf57
pf58
pf59
pf5a
pf5b
pf5c
pf5d
pf5e
pf5f
pf60
pf61
pf62
pf63
pf64

Partial preview of the text

Download Classification and Regression - Introduction to Pattern Recognition - Lecture Slides and more Slides Design and Analysis of Algorithms in PDF only on Docsity!

Recap

We have been considering learning linear models forclassification and regression.

PR NPTEL course – p.1/

Recap

We have been considering learning linear models forclassification and regression.

We have discussed linear least squares method.

PR NPTEL course – p.2/

Recap

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/

Linear Regression

PR NPTEL course – p.5/

Linear Regression

The training data: {

X

i

, y

i

, i

, n

,

X

i

d

, y

i

i

.

The objective is to learn a linear model:

y

X

f

X

W

T

X

w

0

PR NPTEL course – p.7/

Linear Regression

The training data: {

X

i

, y

i

, i

, n

,

X

i

d

, y

i

i

.

The objective is to learn a linear model:

y

X

f

X

W

T

X

w

0

(or,

f

X

W

T

X

, 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

X

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

X

to make the

classification decision.

The criterion is to minimize mean square error:

J

W

n

i

=

W

T

X

i

y

i

2 PR NPTEL course – p.11/

The minimizer of

J

is given by

W

A

T

A

1

A

T

Y

where

A

is a

n

×

d

matrix whose rows are the

X

i

and

Y

is

n

×

vector whose components are

y

i

.

PR NPTEL course – p.13/

The minimizer of

J

is given by

W

A

T

A

1

A

T

Y

where

A

is a

n

×

d

matrix whose rows are the

X

i

and

Y

is

n

×

vector whose components are

y

i

.

In the general case of fixed basis functions, the

i

th

row

of matrix

A

would be

[

φ

0

X

i

φ

d

X

i

)]

. PR NPTEL course – p.14/

In most applications, our observations or data wouldbe noisy.

We can take the

X

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

X

i

to be fixed and the observed

y

i

to

be random.

Often, we get data by measuring

y

i

for specific value

of

X

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

X

i

to be fixed and the observed

y

i

to

be random.

Often, we get data by measuring

y

i

for specific value

of

X

i

. Hence this is a useful scenario. -

Now the

W

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/