Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

For this dataset, you are required to fit a decision tree classifier. Credit Score Income Employment Status Years at Current Address Loan Amount Loan

For this dataset, you are required to fit a decision tree classifier.

 

Credit ScoreIncomeEmployment StatusYears at Current AddressLoan AmountLoan Approval
720$60,000Employed5$10,000Approved
650$40,000Unemployed2$5,000Denied
800$90,000Employed10$20,000Approved
600$30,000Self-Employed3$8,000Denied
700$80,000Employed7$15,000Approved
750$70,000Employed8$12,000Approved
670$45,000Unemployed1$4,000Denied
680$55,000Self-Employed4$7,000Denied
730$65,000Employed6$9,000Approved
620$35,000Self-Employed2$6,000Denied


i) There are 5 independent variables, some of which are continuous variables, how to you split their continuous variables in nodes? Use the first column "Credit Score" as an example to show your algorithm and calculation. 

ii) for the first splitting node, which column should be split first? Use calculation to show why

Step by Step Solution

There are 3 Steps involved in it

Step: 1

i Splitting Continuous Variables Using Credit Score as an Example To split continuous variables in n... 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

Income Tax Fundamentals 2013

Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill

31st Edition

1111972516, 978-1285586618, 1285586611, 978-1285613109, 978-1111972516

More Books

Students also viewed these Databases questions