A decision tree is the most human model in machine learning: a flowchart of yes/no questions — is income above 40k? is age under 30? — that ends in a prediction. It is fast, readable, and needs no scaling or tuning. It is also, on its own, terrible: grow it deep enough to fit the training data and it memorizes the noise, drawing a jagged boundary that collapses on anything new. This is overfitting, and a lone tree is its poster child.
The fix that took over applied machine learning is almost embarrassingly simple: don't trust one tree — grow a crowd of them and let them vote. If each tree is wrong in a different way, their mistakes cancel and what survives the average is the real signal.
Two recipes dominate. Random forests (Leo Breiman, 2001) grow hundreds of trees independently, each on a random slice of the data and features, then average. Boosting grows trees one at a time, each one trained to fix the errors the previous ones made. Both turn weak, shaky trees into the single most reliable predictor we have for tabular data — the spreadsheets and databases that run the real world.
Comments
Loading comments...