Answered step by step
Verified Expert Solution
Question
1 Approved Answer
People are suffering from heart disease (HD) a lot. Few variables like Blood Pressure (BP), Cholesterol (C) and Sugar (S) are identified as explanatory variables.
People are suffering from heart disease (HD) a lot. Few variables like Blood Pressure (BP), Cholesterol (C) and Sugar (S) are identified as explanatory variables. As a Data Scientist, you need to predict HD using supervised learning technique Decision Tree. Consider the dataset having few observation (Y: Yes, N: No) as,
S | C | BP | HD |
Y | Y | 70 | Y |
Y | N | 120 | N |
N | Y | 150 | Y |
N | Y | 180 | Y |
Y | Y | 210 | Y |
Y | N | 220 | N |
N | N | 225 | N |
i. Select the root node among S or C using GINI index.
ii. How you will proceed in case the quantitative variable like BP is also used to predict HD. Explain the process.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started