where,
is the mean of features for group i,
is the feature data of object/row k in x which is the matrix containing the features data, C is the pooled within group covariance matrix, and p is the prior probability vector for object i. Simply, object k is assigned to group with highest f. The results for the data collected from last activity is shown below.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJ8sYqxbr-PYqrSAJtao_R8IAiQB7cawjz8SWDAD0WWIZyNMlSG5w4tfhYvQQVmeKtlZCF2fOAAl3Rr0xWG5j2OZTrbaEcOG2qhlClAQswYbyabjiGRg-0Rj7xtV3Yb2GnTY8faIs-WaI/s400/A15.jpg)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJ8sYqxbr-PYqrSAJtao_R8IAiQB7cawjz8SWDAD0WWIZyNMlSG5w4tfhYvQQVmeKtlZCF2fOAAl3Rr0xWG5j2OZTrbaEcOG2qhlClAQswYbyabjiGRg-0Rj7xtV3Yb2GnTY8faIs-WaI/s400/A15.jpg)
The yellow highlighted areas are the maximum f values. The test objects were also jumbled to show that the method works no matter what the order of test objects is. It can be seen that there is a 100% accuracy in the classification of the objects. I give myself a grade of 10 for this activity for successfully implementing LDA and getting a 100% accurate object classification.
References: Kardi Teknomo's Page - Discriminant Analysis Tutorial http://people.revoledu.com/kardi/tutorial/LDA/index.html
References: Kardi Teknomo's Page - Discriminant Analysis Tutorial http://people.revoledu.com/kardi/tutorial/LDA/index.html
No comments:
Post a Comment