Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please do not copy other answer or else I will report A football player would like to decide whether he can play outside in a
Please do not copy other answer or else I will report
A football player would like to decide whether he can play outside in a particular day. Luckily, the player has some data about the weather in the previous days. These data consist of the type of weather and the temperature, and whether it is possible to play outside or not. Day Weather (sunny, cloudy,ralny) Temperature (hot,mild cold) Play? (yes, no) sunny hot no 2 cloudy hot yes sunny mild yes 14 cloudy mild lyes 15 rainy mild no 16 ralny cold no Suppose that the player decides to generate a Decision tree using the above data, answer the following questions: 1. What is the entropy of H(Play? 2. What is the entropy H(Play | Weather), H(Playl Temperature)? 3. Calculate the information gain of each attribute and decide which one should be used to split the dataStep 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