Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1) Develop a decision tree based on the following dataset, where CO represents high school teachers and C1 represents university staff. Part A) Develop the

image text in transcribedimage text in transcribed

1) Develop a decision tree based on the following dataset, where CO represents high school teachers and C1 represents university staff. Part A) Develop the rule only for the root node (level1). Part B) Develop the rule for the second level. Hint: This is a lengthy question. To find the best decision rules, you need to consider all features (Gender, Housing Type, Number of Children) one by one, and for each feature consider all possible decision rules one by one (e.g., Number of children=2 -> CO else C1, Number of children=1=>CO, else C1, etc). Finally, we will choose the decision rule whose result is more accurate (consistent with the dataset). Here, we use all samples for training and testing. Provide all details. Note that sometimes you may end up with the same and lowest) accuracy for two decision rules, and then you can choose any of them. Number of Children Class 2 2 1 2 CO CO CO CO CO 1 1 0 1 2 Gender Female Male Male Male Male Male Male Female Female Female Female Female Male Male Male Male Female Female Female Female House Type Single family house Apartment Single family house Single family house Apartment Apartment Apartment Apartment Single family house Single family house Single family house Apartment Apartment Apartment Apartment Single family house Single family house Apartment Apartment Single family house 2 C1 1 0 C1 C1 0 0 C1 C1 1 2 1 C1 C1 C1 0 1 2 C1 C1

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_2

Step: 3

blur-text-image_3

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

Modernize Your Audit Department Five Critical Areas For Improvement

Authors: Toby DeRoche

1st Edition

B08FKW8B91, 979-8674160274

More Books

Students also viewed these Accounting questions

Question

Discuss the characteristics of a team.

Answered: 1 week ago

Question

What is the formula to calculate the mth Fibonacci number?

Answered: 1 week ago

Question

b. Where did they come from?

Answered: 1 week ago

Question

c. What were the reasons for their move? Did they come voluntarily?

Answered: 1 week ago

Question

5. How do economic situations affect intergroup relations?

Answered: 1 week ago