(One intermediate revision by one other user not shown)
Line 1: Line 1:
=What is Pattern Recognition?=
+
[[Category:ECE662]]
(From [[Lecture 1 - Introduction_OldKiwi|Class notes Lecture 1, ECE662 Spring 2008]])
+
[[Category:decision theory]]
 +
[[Category:lecture notes]]
 +
[[Category:pattern recognition]]
 +
[[Category:slecture]]
  
 +
=What is Pattern Recognition?=
 +
from [[Lecture_1_-_Introduction_OldKiwi|Lecture 1, ECE662, Spring 2010]]
 +
----
 
Definition of Pattern Recognition:
 
Definition of Pattern Recognition:
 
Pattern Recognition is the art of assigning classes or categories to data.  When the computer is given examples with the categories known, this is called supervised learning.  If the categories are not given, it is unsupervised learning.
 
Pattern Recognition is the art of assigning classes or categories to data.  When the computer is given examples with the categories known, this is called supervised learning.  If the categories are not given, it is unsupervised learning.
Line 48: Line 54:
 
Example of Pattern Recognition Solution:
 
Example of Pattern Recognition Solution:
 
[[Image:Lect1ex1e_OldKiwi.JPG]]
 
[[Image:Lect1ex1e_OldKiwi.JPG]]
 
[[Category:ECE662]]
 
 
----
 
----
[[ECE662|Back to ECE662]]
+
[[Lecture_1_-_Introduction_OldKiwi|Back to Lecture 1, ECE662, Spring 2010]]

Latest revision as of 09:41, 10 June 2013


What is Pattern Recognition?

from Lecture 1, ECE662, Spring 2010


Definition of Pattern Recognition: Pattern Recognition is the art of assigning classes or categories to data. When the computer is given examples with the categories known, this is called supervised learning. If the categories are not given, it is unsupervised learning.

Examples of Pattern Recognition:

  • Determine which grapes were used to make a particular wine
  • Pick a move in a chess game
  • Classify an MRI Image
  • Decide whether to hold or sell stock
  • Decide whether or not to grant a credit card to an applicant
  • Recognize faces
  • Understand and process speech
  • Read zip codes on letters
  • Read and understand handwritten characters

Though these tasks are all reasonable decisions to expect from a human, there are problems when teaching a machine to recognize the patterns.

Problems with Pattern Recognition:

  • Hard for the computers (not necessarily intuitive)
  • Most algorithms do not scale well (example given of 2000 faces vs. 2 million faces in an airport face recognition system)
  • Most algorithms do well on the training data but fail miserably on real data.

Steps in Solving the Pattern Recognition Problem

StepsPatternRecog OldKiwi.jpg

1. Data acquisition (for training the classifier) 2. Data pre-processing (such as contrast & background adjustment and segmentation of images) 3. Feature Extraction

  • Essentially extracting a vector of numbers from the raw data that can be fed to a mathematical model of a classifier
  • There are stupid ways to do this: just scan the image and take the pixel intensity values
  • This is often the most important step (and can take months to do on some research problems)
  • This is a domain specific problem. There are no one-size-fits-all algorithms here. You must think about the problem carefully in order to determine the features.
  • To be intelligent about your feature extraction:
    • Think about the features that you don't want to lose. These are the distinguishing features.
    • Define short vectors (in general, they perform better)
    • Define accurate vectors

4. Classification based on feature vectors

  • The classification step requires that we decide where to set the boundary that is used to determine which class to assign a particular (memoryless) data point
  • In the example of a Male vs. Female used below, we have to establish a threshold that chooses which gender to assign the data point. For this particular example, we chose to assign Female to all data points with a hair longer than a particular value
  • Decision surfaces, which are described in detail below, are used to determine where we are going to set the threshold
  • Multiple classifiers could provide for better recognition.

Example of Pattern Recognition Solution: Lect1ex1e OldKiwi.JPG


Back to Lecture 1, ECE662, Spring 2010

Alumni Liaison

Have a piece of advice for Purdue students? Share it through Rhea!

Alumni Liaison