Professional Documents
Culture Documents
Problem 1-
Correctly classified instance RMSE
percentage
66.66% 0.3333
Decisionstump
J48 96% 0.1586
Ibk (KNN=3) 95.33% 0.1703
Ibk (KNN=5) 95.33% 0.1444
Decisionstump is one level decision tree. Generally, it has one internal node which is connected directly
to the termination nodes [1].
A single root node decides how to classify inputs based on the single feature. Each leaf represents
possible feature value, the class label that should be assigned to inputs whose elements have that value
[1].
For using this method, one must decide the feature and build the tree. It is the easiest method by which
decision stumps can be developed for each possible element and which element is giving the highest
accuracy on the training data can be checked [1].
There are total five attributes participated in the decision stump they are sepallength, sepalwidth,
petallength,petalwidth, and class.
b)
Subset size Attributes in “best” subset Classification Accuracy
4 ALL 95.33%
3 Sepallength,petallength,petalwidth 96.667%
2 Sepallength, petalwidth 96%
1 petalwidth 96%
c) No, backward elimination approach guaranteed to find the optimal set of features because
Forward selection and backward selection is much slower than just ranking attributes
based on metrics that can be applied to one attribute at a time. So If you are using such a
parameter, use a ranking selection technique rather than a search selection technique.
Using search won’t change the result, it will just waste much time
References
[1] S. Sonawani, "A Decision Tree Approach to Classify Web Services using Quality Parameter".