06 - Classification Algorithms - Part II
06 - Classification Algorithms - Part II
• Introduction
• Linear Discriminant Functions
• The Perceptron Algorithm
• Performance Assessment
1
Introduction
2
Introduction
3
Linear Discriminant Functions
4
Linear Discriminant Functions
Multicategory Case:
5
Linear Discriminant Functions
6
Linear Discriminant Functions
gi (x) g j (x) or
(w i w j )t x ( wi 0 w j 0 ) 0
7
The Perceptron Algorithm
• The perceptron algorithm is appropriate for the 2-class
problem and for classes that are linearly separable.
• The perceptron algorithm computes the values of the
weights w of a linear classifier, which separates the two
classes.
• The algorithm is iterative. It starts with an initial estimate in
the extended (d +1)-dimensional space and converges to a
solution in a finite number of iteration steps.
• The solution w correctly classifies all the training points
assuming linearly separable classes.
• Note that the perceptron algorithm converges to one out of
infinite possible solutions.
• Starting from different initial conditions, different
hyperplanes result.
BIM488 Introduction to Pattern Recognition Classification Algorithms - Part II 15
The Perceptron Algorithm
• The update at the i th iteration step has the simple form
w(t 1) w(t ) t x x
xY
8
The Perceptron Algorithm
9
The Perceptron Algorithm
10
The Perceptron Algorithm
11
Performance Assessment
12
Performance Assessment
• Introduction
• Linear Discriminant Functions
• The Perceptron Algorithm
• Performance Assessment
13
References