-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Description
As per exception message and comment, missing value is not handled only for categorical features.
But, it fails even when there are any missing values for numerical data. The check, used to find missing value for categorical features and aborts execution, does not consider feature type and check for missing values in all features irrespective of their type.
To handle the issue of missing values, we should update implementation for method _check_and_encode_features and follows
- removing missing value check
- Use category_encoders.OrdinaEncoder as this can handle missing values for category encoding, until missing values for categorical data type is not available in scikit-learn.
- Avoid reordering feature type
Metadata
Metadata
Assignees
Labels
No labels