Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions