Pattern Recognition: P.S.Sastry
Pattern Recognition: P.S.Sastry
Pattern Recognition: P.S.Sastry
P.S.Sastry
[email protected]
Reference Books
Pattern Recognition
A basic attribute of people categorisation of sensory
input
Pattern PR System Class label
Examples of Pattern Recognition tasks
Recognising Speech
Reading a Document
Character Recognition
Pattern Image.
Class identity of character
Features: Binary image, projections (e.g., row and
column sums), Moments etc.
Speech Recognition
Pattern 1-D signal (or its sampled version)
Class identity of speech units
Features LPC model of chunks of speech,
spectral info, cepstrum etc.
Pattern can become a sequence of feature vectors.
Examples contd...
Examples contd...
Video-based Surveillance
Pattern video sequence
Class e.g., level of alertness
Features Motion trajectories, Parameters of a
prefixed model etc.
Examples contd...
Credit Screening
Pattern Details of an applicant (for, e.g., credit
card)
Class Yes / No
Features: income, job history, level of credit, credit
history etc.
Examples contd...
Examples contd...
Document Classification
Pattern A document and a query
Class Relevant or not (in general, rank)
Features word occurrence counts, word context
etc.
Spam filtering, diagnostics of machinery etc.
Some notation
Some notation
Some notation
A simple PR problem
: Features:
x1 : Marks based on academic record
x2 : Marks in the interview
A simple PR problem
: Features:
x1 : Marks based on academic record
x2 : Marks in the interview
A simple PR problem
: Features:
x1 : Marks based on academic record
x2 : Marks in the interview
A simple PR problem
: Features:
x1 : Marks based on academic record
x2 : Marks in the interview
Design of classifier:
We have to choose a specific form for the classifier.
What values to use for parameters such as a, b, c?
PR video course p.28/90
Designing Classifiers
Designing Classifiers
Designing Classifiers
A simple PR problem
: Features:
x1 : Marks based on academic record
x2 : Marks in the interview
candidates
Training Set
V ector Classifier
Class
f eedback
Teacher
Function Learning
Function Learning
ai Z(k i)
i=1
ai Z(k i)
i=1
Design of Classifiers
Design of Classifiers
Design of Classifiers
Design of Classifiers
Class 1
Class 2
Class 1
Class 2
Class 1
Class 2
Class 1
Class 2
Let
Let
Let
Let
interest.
For a feature vector X , let y(X) denote the class
label of X . In general, y(X) would be random.
interest.
For a feature vector X , let y(X) denote the class
label of X . In general, y(X) would be random.
Statistical PR contd.
Statistical PR contd.
Statistical PR contd.
Statistical PR contd.
qi (X) = fi (X)pi / Z
where Z = f0 (X)p0 + f1 (X)p1 is the normalising
constant
PR video course p.80/90
Bayes Classifier
q0 (X)
>1
h(X) = 0 if
q1 (X)
= 1 otherwise
Bayes Classifier
q0 (X)
>1
h(X) = 0 if
q1 (X)
= 1 otherwise
Bayes Classifier
q0 (X)
>1
h(X) = 0 if
q1 (X)
= 1 otherwise
Bayes Classifier
q0 (X)
>1
h(X) = 0 if
q1 (X)
= 1 otherwise
story so far
story so far
Kernel-based methods
Feature extraction and dimensionality reduction (PCA)
Thank You!