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
Problem statement:
scikit learn 0.24 does not support np.nan when doing ordinal encoding of categorical columns. This is a feature added in 0.25. Because of this, we are forced to have imputation here before ordinal encoding.
Suggestion:
When moving to the next scikit learn, we can remove the ordinal encoder from the categorical pipeline steps, so that it is no longer before imputation. This will also allow us to remove the noencoder choice.
The text was updated successfully, but these errors were encountered:
Problem statement:
scikit learn 0.24 does not support
np.nan
when doing ordinal encoding of categorical columns. This is a feature added in 0.25. Because of this, we are forced to have imputation here before ordinal encoding.Suggestion:
When moving to the next scikit learn, we can remove the ordinal encoder from the categorical pipeline steps, so that it is no longer before imputation. This will also allow us to remove the noencoder choice.
The text was updated successfully, but these errors were encountered: