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)

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
Get step-by-step solutions from verified subject matter experts
