Question Solved1 Answer please please solve all parts of this question. i will rate your work 2. (a) You are stranded on a deserted island. Mushrooms of various types grow wildly all over the island, but no other fod is anywhere to be found. Some of the mushrooms have been determined as poisonous and others as not determined by your former companions' trial and error). You are the only one remaining on the island. You have the following data to consider. Example IsHeavy IsSmelly IsSpotted IsSmooth isPoisonous A 0 0 0 0 0 1 0 0 0 B 0 0 с 1 1 1 0 1 1 E 0 1 1 0 0 0 1 1 1 0 0 0 1 1 1 1 0 1 LUI > 3 1 U 1 1 1 ? 0 1 ? ? w 1 1 0 0 You know whether or not mushrooms A through H are poisonous, but you do not know about through W. For the first couple of questions, consider only mushrooms A through H. (1) What is the entropy of IsPoisonous ? (1) Which variable should you choose as the root of a decision tree? (H) What is the information gain of the variable you chose in the previous question? (iv) Build a decision tree to classily mushrooms as poisonous or not. (v) Classily mushrooms U, V, and W using this decision tree as poisonous or not pol- sonous (vi) If the mushrooms of A through H that you know are poisonous suddenly became scarce, should you consider trying U, V, and W? Which one(s) and why? Or if none of them, then why not?

DMK0T4 The Asker · Management

please please solve all parts of this question. i will rate your work
Transcribed Image Text: 2. (a) You are stranded on a deserted island. Mushrooms of various types grow wildly all over the island, but no other fod is anywhere to be found. Some of the mushrooms have been determined as poisonous and others as not determined by your former companions' trial and error). You are the only one remaining on the island. You have the following data to consider. Example IsHeavy IsSmelly IsSpotted IsSmooth isPoisonous A 0 0 0 0 0 1 0 0 0 B 0 0 с 1 1 1 0 1 1 E 0 1 1 0 0 0 1 1 1 0 0 0 1 1 1 1 0 1 LUI > 3 1 U 1 1 1 ? 0 1 ? ? w 1 1 0 0 You know whether or not mushrooms A through H are poisonous, but you do not know about through W. For the first couple of questions, consider only mushrooms A through H. (1) What is the entropy of IsPoisonous ? (1) Which variable should you choose as the root of a decision tree? (H) What is the information gain of the variable you chose in the previous question? (iv) Build a decision tree to classily mushrooms as poisonous or not. (v) Classily mushrooms U, V, and W using this decision tree as poisonous or not pol- sonous (vi) If the mushrooms of A through H that you know are poisonous suddenly became scarce, should you consider trying U, V, and W? Which one(s) and why? Or if none of them, then why not?
More
Transcribed Image Text: 2. (a) You are stranded on a deserted island. Mushrooms of various types grow wildly all over the island, but no other fod is anywhere to be found. Some of the mushrooms have been determined as poisonous and others as not determined by your former companions' trial and error). You are the only one remaining on the island. You have the following data to consider. Example IsHeavy IsSmelly IsSpotted IsSmooth isPoisonous A 0 0 0 0 0 1 0 0 0 B 0 0 с 1 1 1 0 1 1 E 0 1 1 0 0 0 1 1 1 0 0 0 1 1 1 1 0 1 LUI > 3 1 U 1 1 1 ? 0 1 ? ? w 1 1 0 0 You know whether or not mushrooms A through H are poisonous, but you do not know about through W. For the first couple of questions, consider only mushrooms A through H. (1) What is the entropy of IsPoisonous ? (1) Which variable should you choose as the root of a decision tree? (H) What is the information gain of the variable you chose in the previous question? (iv) Build a decision tree to classily mushrooms as poisonous or not. (v) Classily mushrooms U, V, and W using this decision tree as poisonous or not pol- sonous (vi) If the mushrooms of A through H that you know are poisonous suddenly became scarce, should you consider trying U, V, and W? Which one(s) and why? Or if none of them, then why not?
See Answer
Add Answer +20 Points
Community Answer
2QFDA0 The First Answerer
See all the answers with 1 Unlock
Get 4 Free Unlocks by registration

(i) HEdible=H[3+,5u2212]def.=u221238u00b7log23/8u221258u00b7log25/8 =3/8u00b7log28/3+5/8u00b7log28/5 =3/8u00b73u22123/8u00b7log23 +5/8u00b73u22125/8u00b7log25 = 3u221238u00b7log23u221258u00b7log25 u22480.9544 (ii) We can figure this out just by looking at the data:  IsSmooth (iii) The following calculation is based on choosing IsSmooth in the previous question. Information Gain of other attributes will differ. H 0/Smoothdef.=4/8H[2+,2u2212] +4/8H[1+,3u2212] =1/2u00b71 +1/2(1/4 log24/1+3/4 log24/3) =1/2+1/2(1/4u00b72 +3/4u00b72u22123/4 log23)=1/2+1/2(2u22123/4 log23) =1/2+ 1u22123/8 log23 =3/2u22123/8 log23 u22480.9056 IG0/Smooth def.=HEdibleu2212H0/Smooth = 0.9544u22120.9056 = 0.0488 (iv) , (v) The R ... See the full answer