4
1 CSE190, Winter 2010 Linear Discriminant Functions & Support Vector Machines (SVM’s) Biometrics CSE 190 Lecture 10 CSE190, Winter 2010 Announcements HW2 posted. Pattern Classification, Ch4 (Part 1) 3 Definition It is a function that is a linear combination of the components of x g(x) = w t x + w 0 (1) where w is the weight vector and w 0 the bias A two-category classifier with a discriminant function of the form (1) uses the following rule: Decide ω 1 if g(x) > 0 and ω 2 if g(x) < 0 Decide ω 1 if w t x > -w 0 and ω 2 otherwise If g(x) = 0 x is assigned to either class Pattern Classification, Ch4 (Part 1) 4 Pattern Classification, Ch4 (Part 1) 5

Announcements HW2 posted. Support Vector Machines (SVM’s ... · • HW2 posted. Pattern Classification, Ch4 (Part 1) 3 • Definition It is a function that is a linear combination

  • Upload
    others

  • View
    5

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Announcements HW2 posted. Support Vector Machines (SVM’s ... · • HW2 posted. Pattern Classification, Ch4 (Part 1) 3 • Definition It is a function that is a linear combination

1

CSE190, Winter 2010

Linear Discriminant Functions &

Support Vector Machines (SVM’s)

Biometrics CSE 190

Lecture 10

CSE190, Winter 2010

Announcements

•  HW2 posted.

Pattern Classification, Ch4 (Part 1)

3

•  Definition

It is a function that is a linear combination of the components of x g(x) = wtx + w0 (1)

where w is the weight vector and w0 the bias

•  A two-category classifier with a discriminant function of the form (1) uses the following rule: Decide ω1 if g(x) > 0 and ω2 if g(x) < 0 ⇔ Decide ω1 if wtx > -w0 and ω2 otherwise If g(x) = 0 ⇒ x is assigned to either class

Pattern Classification, Ch4 (Part 1)

4

Pattern Classification, Ch4 (Part 1)

5

Page 2: Announcements HW2 posted. Support Vector Machines (SVM’s ... · • HW2 posted. Pattern Classification, Ch4 (Part 1) 3 • Definition It is a function that is a linear combination

2

Pattern Classification, Ch4 (Part 1)

6

Pattern Classification, Ch4 (Part 1)

7

Pattern Classification, Ch4 (Part 1)

8

Pattern Classification, Ch4 (Part 1)

9

Pattern Classification, Ch4 (Part 1)

10

11

Xi : inputs

Wi : weights

θ : threshold

Linear, threshold units

Page 3: Announcements HW2 posted. Support Vector Machines (SVM’s ... · • HW2 posted. Pattern Classification, Ch4 (Part 1) 3 • Definition It is a function that is a linear combination

3

12

The threshold can be easily forced to 0 by introducing an additional weight input W0 = θ

13

14 15

16 17

Page 4: Announcements HW2 posted. Support Vector Machines (SVM’s ... · • HW2 posted. Pattern Classification, Ch4 (Part 1) 3 • Definition It is a function that is a linear combination

4

CS348, Fall 2001 © David Kriegman, 2001

18

CS348, Fall 2001 © David Kriegman, 2001

19

CS348, Fall 2001 © David Kriegman, 2001

20

CS348, Fall 2001 © David Kriegman, 2001

21

CS348, Fall 2001 © David Kriegman, 2001

22 2-layer Neural Net