Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Build a decision tree for this data set, using entropy as splitting criterion. Use two-way splits for the features homeowner and income,as well as three-way

  1. Build a decision tree for this data set, using entropy as splitting criterion. Use two-way splits for the features "homeowner" and "income",as well as three-way splits for the feature "marital status".Do notconduct any splits of zero information gain, and stop once all remaining splitsgiveaninformationgainofzero.
  2. What is the accuracy of your tree on the training data?Construct aconfusion matrix.
  3. What does your tree predict (default yeso) for a new borrower whichdoesnotownahome,whichismarried andwhichhasahighincome? Howconfident is thisprediction?
image text in transcribed
HOME OWNER MARITAL STATUS INCOME DEFAULTED Bl no married lowr no B2 yes divorced high no B3 no single high yes B4 no married low no BS no married lowr yes B6 yes single high no B7 no married high no B8 no single low no B9 yes married high no B10 yes divorced high yes

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

WebAssign For A First Course In Differential Equations With Modeling Applications

Authors: Dennis G Zill

11th Edition

1337879770, 9781337879774

More Books

Students also viewed these Mathematics questions