Skip to content
GATEiit

GATE DA 2024 Q62: Information gain of the Pitch attribute in a decision tree

Question

Details of ten international cricket games between two teams "Green" and "Blue" are given in Table C. This table consists of matches played on different pitches, across formats along with their winners. The attribute Pitch can take one of two values: spin-friendly (represented as SS) or pace-friendly (represented as FF). The attribute Format can take one of two values: one-day match (represented as OO) or test match (represented as TT).

A cricket organization would like to use the information given in Table C to develop a decision-tree model to predict outcomes of future games between these two teams.

To develop such a model, the computed InformationGain(C, Pitch) with respect to the Target is ______ (rounded off to two decimal places).

Table C
Match NumberPitchFormatWinner (Target)
1SSTTGreen
2SSTTBlue
3FFOOBlue
4SSOOBlue
5FFTTGreen
6FFOOBlue
7SSOOGreen
8FFTTBlue
9FFOOBlue
10SSOOGreen

Try it: numerical answer: type the value

Numerical answer. No negative marking.
Show answer and explanation

Answer: 0.12 to 0.13 (official GATE 2024 final answer key)

Concept used: Information gain = entropy of the target − weighted entropy after splitting on the attribute.

First step: Overall 4 Green / 6 Blue gives H≈0.971H \approx 0.971; Pitch SS has 3 Green / 2 Blue (H≈0.971H \approx 0.971), FF has 1 Green / 4 Blue (H≈0.722H \approx 0.722).

Full step-by-step solution

Detailed working, common mistakes and linked mock tests will be available with a free GATEiit account. Log-in is coming soon.

Share this question

WhatsAppDownload image

Source: official GATE 2024 DA question paper and final answer key, organised by IISc Bangalore. Question paper · Answer key