Question: The following decision tree has been created to predict what someone can do at weekend based on the tree below answer these questions 1- Based

The following decision tree has been created to predict what someone can do at weekend based on the tree below answer these questions

1- Based on decision tree above answer the question below, what will be the class?

Weekend

Weather

Parents

money

Class

W19

Windy

Yes

Poor

???

2- Calculate information gain for class only. The count of class for each as below table

Cinema

6

Tennis

2

Stay In

1

Shopping

1

You can use the below values

Log2 0.6 = -0.737; Log2 0.5 = -1.0; Log2 0.4 = - 1.322; Log2 0.3 = - 0.1737; Log2 0.7 = - 0.575

Log2 0.2= -2.322 ; Log2 0.1= -3.323.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!