Credit Rating (feature1) Liabiltiy or not (Target) Yes No Total Excellent 3 1 4 Good 4 2 6 Poor 0 4 4 Total 7 7 14   Balance (feature2) Liabiltiy or not (Target) Yes No Total >50K 2 6 8 < 50 K 5 1 6 Total 7 7 14   Liability Tables Refer to the ‘Liability’ tables above, the target variable is Liability which can take on two values “Yes” and “No” and we 2 features: Credit Rating (which can take on values “Excellent”, “Good” and “Poor”), and  Balance (which can take on values “> 50K”, “< 50K”). There are 14 observations in total. See the above liability table for different figures of ‘excellent’, ‘good’, ‘poor’ credit ratings and ‘Yes’, ‘No’ liability class. Use decision tree algorithm to work out which feature provides more information or reduces more uncertainty about our target variable out of the two using the concepts of entropy and information Gain.

Programming Logic & Design Comprehensive
9th Edition
ISBN:9781337669405
Author:FARRELL
Publisher:FARRELL
Chapter7: File Handling And Applications
Section: Chapter Questions
Problem 7PE
icon
Related questions
Question
100%

Credit Rating (feature1)

Liabiltiy or not (Target)

Yes

No

Total

Excellent

3

1

4

Good

4

2

6

Poor

0

4

4

Total

7

7

14

 

Balance (feature2)

Liabiltiy or not (Target)

Yes

No

Total

>50K

2

6

8

< 50 K

5

1

6

Total

7

7

14

 

Liability Tables

Refer to the ‘Liability’ tables above, the target variable is Liability which can take on two values “Yes” and “No” and we 2 features: Credit Rating (which can take on values “Excellent”, “Good” and “Poor”), and  Balance (which can take on values “> 50K”, “< 50K”). There are 14 observations in total. See the above liability table for different figures of ‘excellent’, ‘good’, ‘poor’ credit ratings and ‘Yes’, ‘No’ liability class. Use decision tree algorithm to work out which feature provides more information or reduces more uncertainty about our target variable out of the two using the concepts of entropy and information Gain.

Please answer ASAP, will upvote! Thank you.

Expert Solution
steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Knowledge Booster
Module hierarchy chart
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
Operations Research : Applications and Algorithms
Operations Research : Applications and Algorithms
Computer Science
ISBN:
9780534380588
Author:
Wayne L. Winston
Publisher:
Brooks Cole