| |||||||||||||||||
![]() |
![]() |
![]() |
|||||||||||||||
|
Linear Discriminant Analysis Numerical Example
Here is an example of LDA. We are going to solve linear discriminant using MS excel. You can download the worksheet companion of this numerical example here.
Factory “ABC” produces very expensive and high quality chip rings that their qualities are measured in term of curvature and diameter. Result of quality control by experts is given in the table below.
As a consultant to the factory, you get a task to set up the criteria for automatic quality control. Then, the manager of the factory also wants to test your criteria upon new type of chip rings that even the human experts are argued to each other. The new chip rings have curvature 2.81 and diameter 5.46. Can you solve this problem by employing Discriminant Analysis?
Solutions When we plot the features, we can see that the data is linearly separable. We can draw a line to separate the two groups. The problem is to find the line and to rotate the features in such a way to maximize the distance between groups and to minimize distance within group.
In our example,
In this example,
Discriminant function
We should assign object
The results of our computation are given in MS Excel as shown in the figure below.
The discriminant function is our classification rules to assign the object into separate group. If we input the new chip rings that have curvature 2.81 and diameter 5.46, reveal that it does not pass the quality control. Transforming all data into discriminant function
Preferable reference for this tutorial is Teknomo, Kardi. Discriminant Analysis Tutorial. http://people.revoledu.com/kardi/ tutorial/LDA/
|
|||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||
© 2006 Kardi Teknomo. All Rights Reserved. Designed by CNV Media |
||||||||||||||||||||||||||||||||||||||||