Sunday, September 6, 2009

Activity 15. Probabilistic Classification

The goal of this activity is to classify 20 objects according to their classes.

The objects used in this activity are 10 Coke and 10 Sprite bottle caps. The image of the objects were taken and converted into a binary image using Scilab. The original image and the binary image are shown in Figure 1.


Figure1. Original and Binary image of the previous image


The objects were then classified using the same method employed on activity 14. The plot showing the classification of the samples used is shown in Figure 2.

Figure2. Classification of Objects

As seen in Figure 2, the classification of the samples is well separated. Linear Discriminant Analysis(LDA) was then used to further classify the samples. The plot of the classification using LDA is shown in Figure 3. A line separating the 2 groups was drawn to show the boundary between the two groups of samples. The separation between the two groups is small but is sufficient to show the classification of each sample.


Figure3. LDA

For completing this activity successfully, I will give myself 10/10.

***Earl tips helped a lot.

No comments:

Post a Comment