This activity is an extension of activity 14. It uses LDA instead of just taking the euclidian distance in feature space. I used the same photos and features as in activity 14 but i only made use of two classes: leaf 1 and leaf 2. I simply followed the outlined LDA procedure in the link attached with the protocol and my program was able to distinguish between the two leaves for all of 4 test objects.
Classesf1 =
- 1.3203592
12.37927
36.708249
27.447476
f2 =
- 2.9090572
10.544618
38.737733
29.893865
Results:
first two values correspond to leaf 1, last two correspond to leaf 2I give myself a 10/10 since I was able to implement the outlined procedure and the features I chose proved to be valid for the given set of objects.
No comments:
Post a Comment