Answered step by step
Verified Expert Solution
Question
1 Approved Answer
4. Following is a data set that contains two attributes, X and Y, and two class labels, + and -. Each attribute can take three
4. Following is a data set that contains two attributes, X and Y, and two class labels, "+ and "-". Each attribute can take three different values: 0, 1, or 2. The concept for the+ class is Y = 1 and the concept for the "-" class is X = 0 VX = 2 (a) Build a decision tree on the data set. Does the tree capture and the concepts? (b) What are the accuracy, precision, recall, and Fi-measure of the decision tree? (Note that precision, recall, and Fi-measure are defined with respect to the+ class.) (c) Build a new decision tree with the following cost function: - Number of-instance Number of- instance (Hint: only the leaves of the old decision tree need to be changed.) Does the decision tree captures the"+"concept? (d) What are the accuracy) precision, recall, and Fi-measure of the new decision tree? 4. Following is a data set that contains two attributes, X and Y, and two class labels, "+ and "-". Each attribute can take three different values: 0, 1, or 2. The concept for the+ class is Y = 1 and the concept for the "-" class is X = 0 VX = 2 (a) Build a decision tree on the data set. Does the tree capture and the concepts? (b) What are the accuracy, precision, recall, and Fi-measure of the decision tree? (Note that precision, recall, and Fi-measure are defined with respect to the+ class.) (c) Build a new decision tree with the following cost function: - Number of-instance Number of- instance (Hint: only the leaves of the old decision tree need to be changed.) Does the decision tree captures the"+"concept? (d) What are the accuracy) precision, recall, and Fi-measure of the new decision tree
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started