Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

3) Decision Trees and Information Gain (15 marks = 3+12] Let's assume we have the following data regarding the attributes of some food items (i.e.,

image text in transcribed

3) Decision Trees and Information Gain (15 marks = 3+12] Let's assume we have the following data regarding the attributes of some food items (i.e., what is their weight, what is their length, and what is their color), and finally the labels indicate whether they were considered eatable or not (i.e., the target output): Smell Normal Poor Poor Normal Normal Normal Normal Normal Normal Normal Normal Normal Normal Poor Poor Normal Length Short Short Long Long Short Short Short Short Long Long Long Long Long Short Long Short Color Orange Purple Purple Orange Orange Orange Orange Purple Orange Orange Orange Orange Orange Orange Orange Orange Eatable? No Yes No Yes Yes Yes Yes No No Yes No No No Yes Yes Yes i) What is the value of entropy at the root of the decision tree? ii) On the basis of Information Gain, choose the best attribute for classifying only at the first level of the decision tree (at root, no need for the whole tree)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database And Expert Systems Applications 33rd International Conference Dexa 2022 Vienna Austria August 22 24 2022 Proceedings Part 1 Lncs 13426

Authors: Christine Strauss ,Alfredo Cuzzocrea ,Gabriele Kotsis ,A Min Tjoa ,Ismail Khalil

1st Edition

3031124227, 978-3031124228

More Books

Students also viewed these Databases questions

Question

What is paper chromatography?

Answered: 1 week ago

Question

Explain the cost of capital.

Answered: 1 week ago

Question

Define capital structure.

Answered: 1 week ago