Question 7 Color Size Shape Edible Yellow Small Round Yes Yellow Small Round Green No Small Irregular Yes Green Large Irregular No Yellow Large Round Yellow Small Round Yellow Small Yellow Yes Yes Round Yes Small Round Yes Green Small Round Yellow Large Round No No Yellow Large Round Yes Yellow Large Round No Yellow Large Round No No Yellow Large Round Yellow Small Irregular Yes Yellow Large Irregular Yes a) Considering 'Edible' as the class, Compute entropy for this dataset. b) Between Color, Size, and Shape, which one is the better feature? Show full calculation and explain.

Systems Architecture
7th Edition
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Stephen D. Burd
Chapter7: Input/output Technology
Section: Chapter Questions
Problem 19VE
icon
Related questions
Question
100%

Please solve this question correctly. It's on Naive Bayes.

 

Question 7
Color
Size Shape Edible
Yellow Small Round
Yes
Yellow Small Round
Green
No
Small Irregular Yes
Green Large Irregular No
Yellow
Large Round
Yellow Small Round
Yellow Small
Yellow
Yes
Yes
Round
Yes
Small Round
Yes
Green Small Round
Yellow Large Round
No
No
Yellow Large Round
Yes
Yellow Large Round
No
Yellow Large Round
No
No
Yellow Large Round
Yellow Small Irregular Yes
Yellow
Large Irregular Yes
a) Considering 'Edible' as the class, Compute entropy for this dataset.
b) Between Color, Size, and Shape, which one is the better feature? Show full calculation and
explain.
Transcribed Image Text:Question 7 Color Size Shape Edible Yellow Small Round Yes Yellow Small Round Green No Small Irregular Yes Green Large Irregular No Yellow Large Round Yellow Small Round Yellow Small Yellow Yes Yes Round Yes Small Round Yes Green Small Round Yellow Large Round No No Yellow Large Round Yes Yellow Large Round No Yellow Large Round No No Yellow Large Round Yellow Small Irregular Yes Yellow Large Irregular Yes a) Considering 'Edible' as the class, Compute entropy for this dataset. b) Between Color, Size, and Shape, which one is the better feature? Show full calculation and explain.
Expert Solution
steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Recommended textbooks for you
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning
CMPTR
CMPTR
Computer Science
ISBN:
9781337681872
Author:
PINARD
Publisher:
Cengage