How does max_leaf_nodes differ from max_depth in controlling tree structure?
Role: Machine Learning Engineer
Category: Machine Learning
Difficulty: medium
Interview Round: Other
Overview: Compare max_leaf_nodes and max_depth as ways to limit decision tree growth. Tests depth-first versus best-first growth, the tree shapes each limit produces, effects on capacity and feature interactions, combining the two, and the link to leaf-wise boosting.