Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Occupation Gender Age Salary Service Female 45 $48,000 Male 25 $25,000 Male 33 $35,000 Management Male 25 $45,000 Female 35 $65,000 Male 26 $45,000 Female

Occupation Gender Age Salary
Service Female 45 $48,000
Male 25 $25,000
Male 33 $35,000
Management Male 25 $45,000
Female 35 $65,000
Male 26 $45,000
Female 45 $70,000
Sales Female 40 $50,000
Male 30 $40,000
Staff Female 50 $40,000
Male 25 $25,000

Consider the data in above Table. The target variable is salary. Start by discretizing salary as follows:

Less than $35,000 Level 1

$35,000 to less than $45,000 Level 2

$45,000 to less than $55,000 Level 3

Above $55,000 Level 4

5. Construct a classification and regression tree to classify salary based on the other variables. Do as much as you can by hand, before turning to the software. 6. Construct a C4.5 decision tree to classify salary based on the other variables. Do as much as you can by hand, before turning to the software. 7. Compare the two decision trees and discuss the benefits and drawbacks of each. 8. Generate the full set of decision rules for the CART decision tree. 9. Generate the full set of decision rules for the C4.5 decision tree. 10. Compare the two sets of decision rules and discuss the benefits and drawbacks of each.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored 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

Recommended Textbook for

Nmap Network Exploration And Security Auditing Cookbook

Authors: Paulino Calderon

2nd Revised Edition

1786467453, 978-1786467454

More Books

Students also viewed these Accounting questions

Question

Define procedural justice. How does that relate to unions?

Answered: 1 week ago