Question: 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 data
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
