CSE422 · Artificial Intelligence

Decision Tree Simulator

Split a small dataset on each feature and compare entropy and information gain.

H=0.94

The full set has 5 No and 9 Yes, so entropy is 0.94 bits. ID3 picks the feature that reduces it most.

step 1 of 20
deciding now leaf (pure or majority) split node

Information gain

No split being evaluated on this step.

Rows at this node
14
Entropy
0.94 bits

Your dataset

OutlookTempHumidityWindPlay
SunnyHotHighWeakNo
SunnyHotHighStrongNo
OvercastHotHighWeakYes
RainMildHighWeakYes
RainCoolNormalWeakYes
RainCoolNormalStrongNo
OvercastCoolNormalStrongYes
SunnyMildHighWeakNo
SunnyCoolNormalWeakYes
RainMildNormalWeakYes
SunnyMildNormalStrongYes
OvercastMildHighStrongYes
OvercastHotNormalWeakYes
RainMildHighStrongNo

Add a row

Rows outside the current node are dimmed. Add rows that contradict an existing pattern and watch the gains shift — that is overfitting arriving.

← → to step, or use the buttons above.