Docsity

Lecture 15: Statistical Pattern Recognition - Samson Cheung, EE 639, Fall 2004 - Prof. Chi, Study notes of Electrical and Electronics Engineering

Partial preview of the text

Download Lecture 15: Statistical Pattern Recognition - Samson Cheung, EE 639, Fall 2004 - Prof. Chi and more Study notes Electrical and Electronics Engineering in PDF only on Docsity!

Samson Cheung^ EE 639, Fall 2004

Lecture 15: Statistical Pattern Recognition

Multimedia Information

Systems

Why Pattern Recognition? 

Retrieve all news stories that show Kerry and Bushin the same shot 

Identify in the surveillance video all groups withmore than three individuals 

Separate all the instruments in a symphonyrecording 

Find all the goal shots in a football match video 

Block out a certain individual in a surveillance tapefor privacy reason 

…

Model for PR^ 

Not every PR problem has the training part. ^

Feature Extraction/Selection refers to the process of identifying themost important features for the PR tasks (later) ^

Focus on classification and learning this week

Classification

Classification:

Given a measurement x, find corresponding class label y

Modeling:

Measurements are RANDOM VARIABLES whose

DISTRIBUTION depends on the class

Class Conditional distributions: 

Reflect variably in feature



Reflect noise

Conditional Probability 

Knowing one value in a joint distribution constrainsthe remainder 

Bayes’ rule: 

Can reverse conditioning given priors/marginal^ 

Either term can be discrete or continuous

x p

y p y x p x y p y p y x p y x p ⋅

Priors and Posterior



Bayesian inference can be interpreted as updating prior beliefs

with new measurements,

x



Posterior

is

prior

scaled by

likelihood

& normalized

by

evidence

(so

(posteriors

)^



Objection: priors are often unknown^ 

but omitting them amounts to assuming they are all equal

Sources of error 

Suboptimal threshold / regions (bias error)^ 

use a Bayes classifier!



Incorrect distributions (model error)^ 

better distribution models/more training data



Misleading features (‘Bayes error’)^ 

irreducible

for a given feature set regardless of classification

scheme

Training

Density-based approach ^

Estimate

P(X=x | Y=

ωω)ωω

directly

^

Parametric form

^

assume a specific PDF ^

ML estimate : find parameters tomaximize P(X,Y)

^

Non-parametric

^

Histogram: how many bins?

^

Problematic when dimension ishigh^ 

Need lots of data ^

Overfitting : a histogram with toomany bins is a poor estimate ofthe underlying pdf. Given labeled training data: {(x

’,y 1

’), (x 1

’,y 2

’), …, (x 2

’,yN

’)},N

derive the classification rule

Boundary-based approach ^

Identify the class decisionboundary of region directly ^

Does not overfit easily ^

Difficult to interpret

Our focus 

Parametric Models^ 

Gaussian Mixture Models  Hidden Markov Models



Non-parametric Models^ 

Neural Networks  Support Vector Machine  Boosting



Dimension Reduction^ 

Feature selection  PCA and Randomized projection  Applications to fast similarity search

Gaussian Distribution 

Easiest way to model distributions is viaparametric model



assume known form, estimate a few parameters



Gaussian model is simple & useful:

Gaussian Mixture Model (GMM) 

Single Gaussians cannot model^ 

distributions with multiple modes  distributions with nonlinear correlation



What about a weighted sum? i.e.^ 

where {

ck

} is a set of weights and {p(x|m

) } is a set ofk

Gaussian components  can fit anything given enough components



Interpretation: Each observation is generated by oneof the Gaussians, chosen at random, with priors:

Example 

Problems: need to find the parameters foreach component and the prior