Following is a data set that contains two attributes, X and Y, and two class labels, +
Question:
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?
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Introduction to Data Mining
ISBN: 978-0321321367
1st edition
Authors: Pang Ning Tan, Michael Steinbach, Vipin Kumar
Question Posted: