Presentation is loading. Please wait.

Presentation is loading. Please wait.

March 2006Alon Slapak 1 of 15 Pattern Recognition A practical approach Class Block Diagram Feature Pattern Definition Classification Bibliography.

Similar presentations


Presentation on theme: "March 2006Alon Slapak 1 of 15 Pattern Recognition A practical approach Class Block Diagram Feature Pattern Definition Classification Bibliography."— Presentation transcript:

1 March 2006Alon Slapak 1 of 15 Pattern Recognition A practical approach Class Block Diagram Feature Pattern Definition Classification Bibliography

2 March 2006Alon Slapak 2 of 15 Definition “Pattern recognition aims to classify data (patterns) based on either a priori knowledge or on statistical information extracted from the patterns. The patterns to be classified are usually groups of measurements or observations, defining points in an appropriate multidimensional space.“ (W IKIPEDI A) “The purpose of pattern recognition is to determine to which category or class a given sample belongs.” (Fukunaka p.51) Class Block Diagram Feature Pattern Definition Classification Bibliography

3 March 2006Alon Slapak 3 of 15 Block diagram Both definitions may be depicted by the following block diagram. Object Pattern Class / Category Class / Category Class / Category The process consists of two major operations: Feature extraction Classification Class Block Diagram Feature Pattern Definition Classification Bibliography

4 March 2006Alon Slapak 4 of 15 The gender example Assume an algorithm to recognize the gender of a student in a university, where the available input is several features of the students (of course, the gender cannot be one of the features). The student to be classified is the Object, The gender (Male or Female) are the Classes, and the input which is referred to the student is the Pattern. Class Block Diagram Feature Pattern Definition Classification Bibliography

5 March 2006Alon Slapak 5 of 15 What is a Feature? Example: Possible features of a student: Number of eyesx  {0, 1, 2} Hair colorx  {0 =Black, 1 =Blond, 2 =Red,…} Wear glasses or notx  {0, 1} Hair length [cm] x  [0..100] Shoe size [ U.S ] x  [3.5, 4, 4.5,..,14] Height [cm] x  [40..240] Weight [kg] x  [30..600] Feature is a scalar x which is quantitatively describes a property of the Object. Class Block Diagram Feature Pattern Definition Classification Bibliography

6 March 2006Alon Slapak 6 of 15 What is Feature Extraction? “When we have two or more classes, feature extraction consist of choosing those features which are most effective for preserving class separability” ( Fukunaga p. 441 ) Assume we choose the shoe size of the student as a feature. The selection is heuristically and seems reasonable. In this case, asking the student to raise his leg and reading the size of the show is Feature extraction … Class Block Diagram Feature Pattern Definition Classification Bibliography

7 March 2006Alon Slapak 7 of 15 What is a Pattern? Pattern is a n-tuple X (vector) of N scalars x i i  [ 1, N ], which are called the Features. Conventional form of a pattern is: Where V is known as the Feature Space, and N is the dimension of V. Class Block Diagram Feature Pattern Definition Classification Bibliography

8 March 2006Alon Slapak 8 of 15 Possible patterns for the gender problem: We can use the shoe size alone to have: We can combine the height and the weight to have: We can even combine the height, weight and the shoe size to be on the safe side: Or, we can use them all: Class Block Diagram Feature Pattern Definition Classification Bibliography

9 March 2006Alon Slapak 9 of 15 Example Assume we are using the height and the weight of each of the students in the university as a pattern. The height and the weight are both features, which span a feature space V of dimension 2. Each student is characterized by a vector of two feature: (height, weight). Since the male students and the female students differ from each other in height and weight, we are expected to have two separated clusters. Females Males Each of the students is represented as a point in the feature space. Patterns of male students are depicted in blue, and those of female students – in red. Class Block Diagram Feature Pattern Definition Classification Bibliography

10 March 2006Alon Slapak 10 of 15 What is a Class? “Class is a set of patterns that share some common properties” ( Wang p.10 ) In our example, the Male students and the Female students are two classes of objects that share a common gender. BUT, pay attention to the fact that two different classes do not imply two separated clusters in the feature space. In fact, in the gender example, we can find at least three female points in the male cluster. Class Block Diagram Feature Pattern Definition Classification Bibliography

11 March 2006Alon Slapak 11 of 15 What is Classification? Classification is a mathematical function or algorithm which assigns a feature to one of the classes. Example: We can draw a line between the two clusters in the gender example, and every student will be classified as a female or male according to this line. Males Females And, Yes !!! There are misclassifications. Class Block Diagram Feature Pattern Definition Classification Bibliography

12 March 2006Alon Slapak 12 of 15 Clusters separability Misclassifications are a consequence of the separability of the clusters. The separability of clusters is quantified using two major methods: Separable clustersAlmost separable clustersNon-separable clusters 1.Mathematically: there are several separability criteria’s. 2.“Intuitively”: overlapping of the clusters. Class Block Diagram Feature Pattern Definition Classification Bibliography

13 March 2006Alon Slapak 13 of 15 Classification quality WARNING!!! Although the idea is well illustrated, it is a bad habit to judge a classification quality according to the visual representation of clusters. The classification quality is strongly depends on the clusters separability. The clusters separability is strongly depends on the features selection. Feature selection is of paramount importance in classification quality. Class Block Diagram Feature Pattern Definition Classification Bibliography

14 March 2006Alon Slapak 14 of 15 Features selection “When we have two or more classes, feature extraction consist of choosing those features which are most effective for preserving class separability” (Fukunaga p. 441) Class Block Diagram Feature Pattern Definition Classification Bibliography

15 March 2006Alon Slapak 15 of 15 Bibliography 1.K. Fukunaga, Introduction to Statistical Pattern Recognition, 2 nd ed., Academic Press, San Diego, 1990. 2.X. Wang, Feature Extraction and Dimensionality Reduction in Pattern Recognition and Their Application in Speech Recognition, PhD Thesis, Griffith University, November 2002. Class Block Diagram Feature Pattern Definition Classification Bibliography


Download ppt "March 2006Alon Slapak 1 of 15 Pattern Recognition A practical approach Class Block Diagram Feature Pattern Definition Classification Bibliography."

Similar presentations


Ads by Google