Question: Based on the following scenario: A study on the possibility of getting sunburn is conducted and a dataset is given in Table 1. The study

Based on the following scenario: A study on the possibility of getting sunburn is conducted and a dataset is given in Table 1. The study shows either the customer will get sunburn or not. The decision or the dependent variable is identified in the last column. Summary of the entropy calculation for root node is tabulated in Table 2. TABLE 1: Sunburn datasets Name Hair color Height Weight Lotion Sunburn Siti Black Average Light No Yes Diana Black Tall Average Yes NO Ali Brown Short Average Yes NO Ani Black Short Average No Yes Emilia Red Average Heavy No Yes Peng Li Brown Tall Heavy NO No Johan Brown Average Heavy NO NO Khatijah Black short licht Yes No TABLE 2: Entropy information for root node Attribute Hair color Height Weight Lotion Average Entropy 0.50 0.69 0.94 0.61 a) Construct a decision tree from Table 1 by considering initial entropy in Table 2. b) Convert the decision tree in Q5(a) to a production rules. c) What is the result of a customer with brown hair color that wearing lotion
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
