Linear Discriminant Functions - Pattern Recognition - Lecture Slides, Slides of Engineering Dynamics

The key points are: Linear Discriminant Functions, Perceptron, Weighted Sum and Threshold, Simple Iterative Algorithm, Perceptron Learning Algorithm, Geometric View, Batch Version of Algorithm, Simple Learning Machine, Neuron Model

Typology: Slides

2012/2013

Uploaded on 04/19/2013

padmaja
padmaja 🇮🇳

4.5

(12)

45 documents

1 / 122

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Recap
We have been considering linear discriminant
functions.
PR NPTEL course p.1/122
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 Linear Discriminant Functions - Pattern Recognition - Lecture Slides and more Slides Engineering Dynamics in PDF only on Docsity!

Recap^ •^ We have been considering linear discriminantfunctions.

Recap^ •^ We have been considering linear discriminantfunctions.^ •^ Such a linear classifier is given by^ h(X)^

′ d ∑= 1 if^ wφi i= (X) +^ w>^0 i^0 =^0 Otherwisewhere φare fixed functions.i

Perceptron^ •^ Perceptron is the earliest such classifier.

Perceptron^ •^ Perceptron is the earliest such classifier.^ •^ Assuming augumented feature vector,^ h(X) =^ sgn(W

T^ X).

Perceptron^ •^ Perceptron is the earliest such classifier.^ •^ Assuming augumented feature vector,^ h(X) =^ sgn(W

T^ X).

-^ ‘find weighted sum and threshold’

Perceptron Learning Algorithm^ •^ A simple iterative algorithm.

Perceptron Learning Algorithm^ •^ A simple iterative algorithm.^ •^ Each iteration, we locally try to correct errors.Let^ ∆W^ (k) =^ W

(k^ + 1)^ −^ W^ (k

). Then ∆W^ (k)^ = 0

T^ if W (k)X (k)^ >^ 0 &^ y(k) = 1

,^ or T^ W (k)X(k)^ <^ 0 & y(k) = 0 =^ X(k)^ if^ W

T^ (k)X(k)^ ≤^ 0 & y(k) = 1 =^ −^ X(k)^ if^ W

T^ (k)X(k)^ ≥^ 0 & y(k) = 0^ PR NPTEL course – p.10/

Perceptron: Geometric view The algorithm has a simple geometric view. Consider thefollowing data set.

-^ Now the correction made to

W^ (k)^ can be seen as^ PR NPTEL course – p.13/

-^ We showed that: if the training set is linearlyseparable, the the algorithm would find a separatinghyperplane in finitely many iterations.

Perceptron^ •^ A simple ‘device’: Weighted sum and threshold.

Perceptron^ •^ A simple ‘device’: Weighted sum and threshold.^ •^ A simple learning machine. (A neuron model).

-^ Perceptron is an interesting algorithm to learn linearclassifiers.

-^ Perceptron is an interesting algorithm to learn linearclassifiers. •^ Works only when data is linearly separable.