Question: Following is a data set that contains two attributes, X and Y, and two class labels, + and . Each attribute can take three different
-1.png)
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:
-2.png)
(d) What are the accuracy, precision, recall, and F1-measure of the new decision tree?
vim st-110 0 0 0 0 0 0 0 0 li 00111222 012012012 if i j 0, 1,urnber C(hj) instances, if i -,jz+ Number of instances
Step by Step Solution
3.36 Rating (171 Votes )
There are 3 Steps involved in it
a There are 30 positive and 600 negative examples in the data Therefore at the root node the error r... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (1 attachment)
908-M-S-D-A (8625).docx
120 KBs Word File
