Question: Gini index computation ( Decition tree) The following data is the result of an experiment on the position and type of ad. The response variable

Gini index computation ( Decition tree)

Gini index computation ( Decition tree) The following data is the result

The following data is the result of an experiment on the position and type of ad. The response variable is "Clicked" (ie whether or not the ad was clicked). The three predictors are the size of the ad (Size), the position of the ad on the page (Position), and whether or not the ad has sound (Sound) Clicked Size Position Sound Big Top No Small Middle Yes Small Bottom No Big Bottom No Big Top Yes Small Middle No Small Middle No Big Top No Big Bottom Yes Your task is to compute all of the quantities needed to identify the rst split using the Gini index as the measure of diversity. Please write the sum of Gini indices for the following potential splits in the boxes. Give the values to two decimal places, i.e. 0.12 Variable: Size. Split: Big / Small. Variable: Position. Split: Top / (Middle & Bottom). Variable: Position. Split: Middle / (Top & Bottom). Variable: Position. Split: Bottom / (Top & Middle). Variable: Sound. Split: Yes / No

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 Mathematics Questions!