You are on page 1of 3

EXPERIMENT NO.

AIM:To Implement any one of the classifiers using WEKA (Decision Tree, Naïve Bayes or
Random Forest).

OBSERVATION:
1. Selecting ‘Iris’ Dataset.

After opening iris file we get the following graphical representation for iris setosa, iris
verginica and iris versicolor. We then select all the attributes that is sepallength,
sepalwidth, petallength, petalwidth.

2. Apply filter ‘RemovePercentage’ to create Testing Dataset

For creating testing data we will apply 75% on the iris data with field is false.
EXPERIMENT NO. 3

3. Testing Dataset.

We get the output as this: it displays the minimum, max and mean value of the attribute
selected.

4. Apply filter ‘RemovePercentage’ to create Training Dataset

Apply 75% with the field true , so we will get the remaining 25% of the data, and make this as a
training dataset.
EXPERIMENT NO. 3

5. Training output.

In the classifier tab: choose Naïve Bayes and by pressing the start button we will get this training
data.

6. Testing output.

In the classifier tab: choose Naïve Bayes and by pressing the start button we will get this testing
data.

You might also like