You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Make it possible to specify interaction_cst and monotonic_cst with feature names. #24852
Instead of passing an array of monotonicity constraints (-1 for a decrease constraint, +1 for an increase constraint or 0 for no constraint) specified by feature positions in the training set, it would be more convenient to pass a dict to pass constraints spec only for the required feature names (when those are available as str values in the dataset columns). For instance
Activity
ogrisel commentedon Nov 7, 2022
I will give it a quick shot.
ogrisel commentedon Nov 10, 2022
I am working on a similar UX improvement for
categorical_features.lorentzenchr commentedon Nov 11, 2022
Did you mean „if … is NOT defined, …“?
ogrisel commentedon Nov 15, 2022
monotonic_cstwas implemented in:and something similar for
categorical_featuresin:but we still need to do the same for
interaction_cst, maybe after #24849 has been reviewed and merged.lorentzenchr commentedon Nov 30, 2022
I guess this can be closed with #24855, #24889 and #24849 merged.
lorentzenchr commentedon Mar 28, 2026
And #21962 😄