Question
Question Number 1 [2+2+2+2]:A dataset showing the decisions about presence of Heart Disease (HD) based on four attributes (Age, Blood pressure, Cholesteroland Heart rate)is listed
Question Number 1 [2+2+2+2]:A dataset showing the decisions about presence of Heart Disease (HD) based on four attributes (Age, Blood pressure, Cholesteroland Heart rate)is listed in the following table:AgeBPCHHRHDOldLowLowMediumNoVery oldLowMediumLowYesOldMediumMediumMediumNoOldLowLowLowYesMildLowLowMediumYesVery oldHighMediumLowYesVery oldMediumMediumLowYesMildMediumVery highLowYesOldLowMediumMediumNoVery oldMediumVery highMediumNoVery oldMediumLowMediumNoMildLowMediumMediumNoMildLowMediumMediumNoa)Computethe entropy for this data set.b)What is the information gain for the Heart Rate(HR)feature?c)Given a choice among Age, Blood pressure, Cholesterol and Heart rate, which feature would the ID3 algorithm choose as the root node for a decision tree.d)What is the role of information gainand entropyin ID3 algorithm?
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