Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Consider the training set given below for predicting lung cancer in patients based on their symptoms ( chronic cough and weight loss ) and other
Consider the training set given below for predicting lung cancer in patients based on their symptoms chronic cough and weight loss and other lifestyle and environmental attributes tobacco smoking and expo sure to radon
a Draw a twolevel decision tree obtained using entropy as the impurity Show your steps clearly ie the computation of information gain for every candidate attribute at the first and second levels of the decision tree must be shown points
b Compute the training error of the decision tree. points
Tobacco Smoking
Radon Exposure
Chronic Cough
Weight Loss
Lung Cancer
Yes
Yes
Yes
No
Yes
Yes
No
Yes
No
Yes
Yes
No
Yes
Yes
Yes
Yes
No
Yes
Yes
Yes
No
Yes
No
Yes
Yes
Yes
No
No
No
No
No
No
Yes
No
No
No
No
Yes
Yes
No
No
No
Yes
No
No
No
No
No
Yes
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