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
Creating an HistGradientBoostingClassifier with monotonic_cst and categorical_features is not possible because it throws an error. The monotonic_cst is a numeric feature that is not included in the categorical features.
I digged into a bit. The problem is that during fitting, ColumnTransformer places the categorical features at the beginning of X, but monotonic_cst still keeps the original order of the features. I think we can remap monotonic_cst to fix the issue, sort of like self._is_categorical_remapped.
Describe the bug
Creating an HistGradientBoostingClassifier with monotonic_cst and categorical_features is not possible because it throws an error. The monotonic_cst is a numeric feature that is not included in the categorical features.
Steps/Code to Reproduce
Versions
The text was updated successfully, but these errors were encountered: