Unit Pattern
Unit Pattern
• Definition: Pattern Recognition is the process of classifying input data into objects or
categories based on key features.
o Syntactic: Based on grammar rules and structure (e.g., image pattern from
pixels).
o Neural: Uses models inspired by the human brain (e.g., neural networks).
• Learning Approaches:
o Supervised Learning: Training data with known labels is used to build models.
o Unsupervised Learning: Only input data is available (no labels); goal is to find
structure (e.g., clustering).
• System Architecture:
• Discriminant Function: Maps a feature vector to a value; the class with the highest
value is chosen.
• Decision Surface: A boundary in feature space that separates different classes (e.g.,
line for 2D data).
Normal Density and Discriminant Functions
• PDF (1D):
Discrete Features
• Bayes theorem:
P(ωi∣x)=P(x∣ωi)P(ωi)P(x)P(\omega_i|x) = \frac{P(x|\omega_i)P(\omega_i)}{P(x)}P(ωi
∣x)=P(x)P(x∣ωi)P(ωi)
• For Gaussian:
Expectation-Maximization (EM)
• Algorithm for parameter estimation in models like GMM.
Bayesian Estimation
• Uses Bayes’ theorem to update belief about parameters after seeing data.
Discrete HMMs
• Defined by:
Continuous HMMs
• Steps:
1. Mean normalization
3. Compute eigenvectors
Parzen Window
• For a new point, find the k closest training samples and vote for the class.
• Techniques:
Perceptron
Decision Trees
• Advantages:
o Easy to understand
Criterion Functions
Clustering Algorithms:
• K-means:
• Hierarchical Clustering:
• Other Methods: