Following is a data set that contains two attributes, X and Y, and two class labels, + and . Each
The concept for the "+" class is Y = 1 and the concept for the "" class is X = 0¨ X = 2.
(a) Build a decision tree on the data set. Does the tree capture the "+"and "" concepts?
(b) What are the accuracy, precision, recall, and F1-measure of the decision tree? (Note that precision, recall, and F1-measure are defined with respect to the "+" class.)
(c) Build a new decision tree with the following cost function:
(d) What are the accuracy, precision, recall, and F1-measure of the new decision tree?
This problem has been solved!
Step by Step Answer: