Presentation is loading. Please wait.

Presentation is loading. Please wait.

Linear Discriminant Analysis and Its Variations Abu Minhajuddin CSE 8331 Department of Statistical Science Southern Methodist University April 27, 2002.

Similar presentations


Presentation on theme: "Linear Discriminant Analysis and Its Variations Abu Minhajuddin CSE 8331 Department of Statistical Science Southern Methodist University April 27, 2002."— Presentation transcript:

1 Linear Discriminant Analysis and Its Variations Abu Minhajuddin CSE 8331 Department of Statistical Science Southern Methodist University April 27, 2002

2 Plan… The Problem Linear Discriminant Analysis Quadratic Discriminant Analysis Other Extensions Evaluation of the Method An Example Summary

3 The Problem… Classification Problem: Data on p predictors Unknown group membership Training Situation: Data on p predictors, Membership of one of g groups

4 The Problem… Fisher’s Iris Data: Identify the three species?

5 Linear Discriminant Analysis Classify the item x at hand to one of J groups based on measurements on p predictors. Rule: Assign x to group j that has the closest mean j = 1, 2, …, J Distance Measure: Mahalanobis Distance…. Takes the spread of the data into Consideration

6 Linear Discriminant Analysis Distance Measure: For j = 1, 2, …, J, compute Assign x to the group for which d j is minimum is the pooled estimate of the covariance matrix

7 Linear Discriminant Analysis …or equivalently, assign x to the group for which is a maximum. (Notice the linear form of the equation!)

8 Linear Discriminant Analysis …optimal if…. Multivariate normal distribution for the observation in each of the groups Equal covariance matrix for all groups Equal prior probability for each group Equal costs for misclassification

9 Linear Discriminant Analysis Relaxing the assumption of equal prior probabilities… being the prior probability for the j th group.

10 Linear Discriminant Analysis Relaxing the assumption of equal covariance matrices… result?…Quadratic Discriminant Analysis

11 Quadratic Discriminant Analysis Rule: assign to group j if is the largest. Optimal if the J groups of measurements are multivariate normal

12 Other Extensions & Related Methods Relaxing the assumption of normality… Kernel density based LDA and QDA Other extensions….. Regularized discriminant analysis Penalized discriminant analysis Flexible discriminant analysis

13 Other Extensions & Related Methods Related Methods: Logistic regression for binary classification Multinomial logistic regression These methods models the probability of being in a class as a linear function of the predictor.

14 Evaluations of the Methods Classification Table (confusion matrix) Actual group Number of observations Predicted group AB ABAB nAnBnAnB n 11 n 21 n 12 n 22

15 Evaluations of the Methods Apparent Error Rate (APER): APER = # misclassified/Total # of cases ….underestimates the actual error rate. Improved estimate of APER: Holdout Method or cross validation

16 An Example: Fisher’s Iris Data Actual Group Number of Observations Predicted Group SetosaVersicolo r Virginica Setosa Versicolor Virginica 50 0 48 1 0 2 49 Table 1:Linear Discriminant Analysis (APER = 0.0200)

17 An Example: Fisher’s Iris Data Actual Group Number of Observations Predicted Group SetosaVersicolo r Virginica Setosa Versicolor Virginica 50 0 47 1 0 3 49 Table 1:Quadratic Discriminant Analysis (APER = 0.0267)

18 An Example: Fisher’s Iris Data

19

20 Summary LDA is a powerful tool available for classification. Widely implemented through various software Theoretical properties well researched SAS implementation available for large data sets.


Download ppt "Linear Discriminant Analysis and Its Variations Abu Minhajuddin CSE 8331 Department of Statistical Science Southern Methodist University April 27, 2002."

Similar presentations


Ads by Google