0% found this document useful (0 votes)
65 views

WEKA Assignment I

This document summarizes the results of running a J48 decision tree classifier on a training set with 3 attributes (Weather, Yesterday, Classification) and 14 instances. The classifier achieved 66.67% accuracy on a test set of 6 instances. The tree had 4 leaves and classified based on the Weather and Yesterday attributes.

Uploaded by

Amelia Abera
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
65 views

WEKA Assignment I

This document summarizes the results of running a J48 decision tree classifier on a training set with 3 attributes (Weather, Yesterday, Classification) and 14 instances. The classifier achieved 66.67% accuracy on a test set of 6 instances. The tree had 4 leaves and classified based on the Weather and Yesterday attributes.

Uploaded by

Amelia Abera
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

=== Run information ===

Scheme: weka.classifiers.trees.J48 -U -M 1

Relation: Train

Instances: 14

Attributes: 3

WEATHER

YESTERDAY

CLASSIFICATION

Test mode: user supplied test set: size unknown (reading incrementally)

=== Classifier model (full training set) ===

J48 unpruned tree

------------------

YESTERDAY = N

| WEATHER = C: + (3.0/1.0)

| WEATHER = W: + (2.0)

| WEATHER = R: - (1.0)

YESTERDAY = Y: - (8.0/1.0)

Number of Leaves : 4

Size of the tree : 6

Time taken to build model: 0.01 seconds

=== Evaluation on test set ===

Time taken to test model on supplied test set: 0 seconds

=== Summary ===

Correctly Classified Instances 4 66.6667 %

Incorrectly Classified Instances 2 33.3333 %

Kappa statistic 0.4

Mean absolute error 0.4097

Root mean squared error 0.5639


Relative absolute error 75.641 %

Root relative squared error 101.7271 %

Total Number of Instances 6

=== Detailed Accuracy By Class ===

TP Rate FP Rate Precision Recall F-Measure MCC ROC Area PRC Area Class

0.500 0.000 1.000 0.500 0.667 0.500 0.625 0.817 +

1.000 0.500 0.500 1.000 0.667 0.500 0.625 0.500 -

Weighted Avg. 0.667 0.167 0.833 0.667 0.667 0.500 0.625 0.711

=== Confusion Matrix ===

a b <-- classified as

22|a=+

02|b=-

You might also like