Given the following six instances each with five attributes (Outlook, Temperature, Humidity, Wind, Day) and one…

Given the following six instances each with five attributes (Outlook, Temperature, Humidity, Wind, Day) and one class label, calculate Entropy of the whole system calculate Information gain for attribute “Outlook” calculate Gini-index for attribute “Outlook” What is the information gain and Gini-index for attribute Day Explain why Day” is NOT a good feature being used as the root node of a decision tree. How to avoid using Day as the root node to create the tree ID 1 2 3 Outlook Sunny Sunny Overcast Overcast Sunny Rain Temperature Humidity Hot High Cool High Cool Normal Hot High Mild High Cool Normal Wind Weak Strong Weak Weak Weak Weak Day Class Monday No Tuesday No Wednesday No Thursday Yes Friday Yes Saturday Yes 5 6