Perceptron Algorithm - Introduction to Pattern Recognition - Lecture Slides, Slides of Advanced Algorithms

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

2012/2013

Uploaded on 04/20/2013

padmaghira
padmaghira 🇮🇳

3.2

(5)

53 documents

1 / 102

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Recap
We have been considering learning of linear models
for classification and regression.
PR NPTEL course p.1/102
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 Perceptron Algorithm - Introduction to Pattern Recognition - Lecture Slides and more Slides Advanced Algorithms in PDF only on Docsity!

Recap

We have been considering learning of linear modelsfor classification and regression.

PR NPTEL course – p.1/

Recap

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/

Recap

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/

Recap

As we saw, learning a vector-valued function usingleast squares approach is a simple extension.

PR NPTEL course – p.5/

Recap

As we saw, learning a vector-valued function usingleast squares approach is a simple extension.

Given training data,

X

i

, y

i

, i

, n

where

X

i

d

and

y

i

y

1 i

, y

m i

m

, we want to learn

W

j

,

b

j

,

j

, m

so that

y

j

W

T

j

X

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 ‘

C

i

Vs

C

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

K

functions,

g

s

,

s

, K

, given by

g

s

X

W

T

s

X

b

s

Now the classifier would assign class

C

j

to

X

if

g

j

X

g

s

X

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

K

functions,

g

s

,

s

, K

, given by

g

s

X

W

T

s

X

b

s

Now the classifier would assign class

C

j

to

X

if

g

j

X

g

s

X

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

K

-class case, we

need to learn the

K

functions

g

s

.

The simplest way to do this is to make the class labelto be a vector of

K

components.

PR NPTEL course – p.19/

To learn a linear classifier for the

K

-class case, we

need to learn the

K

functions

g

s

.

The simplest way to do this is to make the class labelto be a vector of

K

components.

If

X

i

C

j

then

y

i

would be a

K

-vector with

j

th

component one and all others zero.

PR NPTEL course – p.20/