Why can tree-based models capture non-linear relationships out of the box while linear models need basis expansions?
Role: Machine Learning Engineer
Category: Machine Learning
Difficulty: medium
Interview Round: Other
Overview: Asks why decision trees model non-linear relationships and feature interactions without extra features, while linear models need basis expansions to do the same. Tests understanding of how each model family represents functions and the trade-offs in smoothness, extrapolation and variance.