The decision of going skiing depends on three features: snow, weather, and season. All variables are binary: Skiing (yes or no), Snow (fresh or frosted),
The decision of going skiing depends on three features: snow, weather, and season. All variables are binary: Skiing (yes or no), Snow (fresh or frosted), Weather (windy or sunny), Season (low or high). The following table shows a data set that contains 10 data points
Now what you need to do is to carry out the first split for growing a decision tree model.
Note: Your calculation will be stopped at the point you figure out which variable, Snow , Weather , or Season , you decide to use as the root node. You must write out all the intermediate steps.
No. 1 2 3 4 5 6 Snow fresh fresh frosted fresh fresh frosted 7 frosted 8 fresh fresh frosted 9 10 Weather sunny sunny windy windy windy windy sunny sunny windy sunny Season low high high high low low high high high low Skiing yes yes no no yes no yes yes yes no
Step by Step Solution
3.56 Rating (163 Votes )
There are 3 Steps involved in it
Step: 1
To carry out the first split for growing a decision tree model we need to calculate the entropy ...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