When would you use spline features instead of polynomial features to model a non-linear relationship?
Role: Machine Learning Engineer
Category: Machine Learning
Difficulty: medium
Interview Round: Other
Overview: Asks when spline features fit a non-linear relationship better than polynomial features in a linear model or GLM. Tests understanding of global versus local bases, behavior at the data boundaries, numerical conditioning, knot choice and cyclical features.