This activity deals with Probabilistic Classification. We use a derivative of the Bayes Theorem, which is the Linear Discriminant Analysis (LDA) formula:
using the definitions given in http://people.revoledu.com/kardi/tutorial/LDA/LDA.html, assignment of a test image is given to the class with a maximum
f.
Using the images of Activity 15, I chose the set of sample and test images of
playing cards and
5 peso coins. With 5 samples and also 5 test images, I employ LDA to the test images. The feature identified I chose is color, so that it would be easy to test.
Figure 1. Result of Linear Discriminant Analysis
Fig. 1 shows the results of LDA. The 1st set of
f corresponds to the cards, while the 2nd set corresponds to the 5-peso coins test images. The results showed a 100% rate in correctly identifying the test images. This may be due to my decision to use color as feature, because the five-peso coins are tarnished gold while the cards are red.
Self-Assesment: 10/10
No comments:
Post a Comment