What is the difference between splitter='best' and splitter='random' in a scikit-learn decision tree?
Role: Machine Learning Engineer
Category: Machine Learning
Difficulty: medium
Interview Round: Other
Overview: Asks how the best and random splitter options in a scikit-learn decision tree choose split thresholds and what that changes. Tests knowledge of greedy CART split search, training cost, the bias and variance effect of random thresholds, and how this connects to Extremely Randomized Trees.