Flip One Class Label
Setup: Build the tree from the preloaded dataset, where Age is the root and the Old branch ends directly at the Down class.
Action: Change the class label of the Old, Software, Yes row from Down to Up, then build the tree again.
What to Observe: The Old branch is no longer pure, so it requires another split. Its next iteration evaluates the remaining features, while Age's Information Gain at the root falls from 0.6 to 0.295.
Takeaway: Changing a single class label can turn a pure branch into a mixed subset that needs another split. It can also change the Information Gain of features at the root, which can affect the shape of the resulting tree.