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.

CMPTR
3rd Edition
ISBN:9781337681872
Author:PINARD
Publisher:PINARD
Chapter12: Enhancing A Document
Section: Chapter Questions
Problem 9QY
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
Similar questions
Recommended textbooks for you
CMPTR
CMPTR
Computer Science
ISBN:
9781337681872
Author:
PINARD
Publisher:
Cengage
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning