Professional Documents
Culture Documents
LAB ASSIGNMENT-1
INTRODUCTION TO WEKA EXPLORER
a. What is the smallest, largest and average age of the patients in the
diabetes dataset?
smallest is 21, largest is 81, and average is 33.241
a. Run J48 classifier with default properties on this dataset and report the
accuracy. Comment about the misclassification and the confusion matrix.
Accuracy is 70.5%. For class good, there were 588 correctly classified
instances and 112 incorrectly classified instances but for class bad, there were more
incorrectly classified instances (183) compared to correctly classified instances (117)
which is a bad figure.
c. After removing the most irrelevant attributes, run J48 classifier again and
comment on the results obtained.
Accuracy has increased (72%) compared to previous results. For class good,
there were 586 correctly classified instances and 114 incorrectly classified instances
and for class bad, there were 166 correctly classified instances and 134 incorrectly
classified instances which is much better compared to previous results. Rate of
misclassification has decreased comparatively.
b. How many instances of the tableware class were misclassified? What are
the misclassified instances?
2 instances were misclassified. 171 and 192
c. Comment about true positives and false positives of 'build wind float' class.
In 'build wind float' class we have 50 true positives and 25 false
positives
TP rate = .714 and FP rate = .174