What is a monotonic constraint in gradient boosting and when would you use one?
Role: Machine Learning Engineer
Category: Machine Learning
Difficulty: easy
Interview Round: Other
Overview: Asks what a monotonic constraint does in a gradient boosting model and when it is worth adding. Tests how tree learners enforce the constraint during split finding, how to set it in common libraries, and the trade-offs of forcing a direction on a feature.