Question: Data Science Question1: Decision Tree for Weather Forecasting: Suppose that we want to build a decision tree classifier to perform weather forecasting! We have 3
Data Science


Question1: Decision Tree for Weather Forecasting: Suppose that we want to build a decision tree classifier to perform weather forecasting! We have 3 features (Temp, Humidity, Wind), and a binary Label (sunny/rainy). The following table includes the data collected over the past two weeks. Based on this data, which feature is the best feature to put on the top of the tree? Justify your answer by providing detailed Entropy calculations. Label Sunny Rainy Sunny Sunny Sunn Rainy Rainy Sunn Rainy Sunny Sunny Sunn Rainy Wind Yes Yes Humidit Tem high ow high high mild mild low mild low high ow high mild high mild mild No Yes Yes Yes high ow high high mild mild high low low mild mild mild Yes Rainy Question1: Decision Tree for Weather Forecasting: Suppose that we want to build a decision tree classifier to perform weather forecasting! We have 3 features (Temp, Humidity, Wind), and a binary Label (sunny/rainy). The following table includes the data collected over the past two weeks. Based on this data, which feature is the best feature to put on the top of the tree? Justify your answer by providing detailed Entropy calculations. Label Sunny Rainy Sunny Sunny Sunn Rainy Rainy Sunn Rainy Sunny Sunny Sunn Rainy Wind Yes Yes Humidit Tem high ow high high mild mild low mild low high ow high mild high mild mild No Yes Yes Yes high ow high high mild mild high low low mild mild mild Yes Rainy
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
