Last answered:

27 Aug 2024

Posted on:

27 Aug 2024

0

Resolved: feature selection for missing values

how do you decide which features are appropriate for imputation process. for example can I include gender as well or only numeric values can be used in interative imputer
1 answers ( 1 marked as helpful)
Instructor
Posted on:

27 Aug 2024

0
Hey Doaa,
When selecting features for the imputation process, you need to think of the type of data and the imputation method used. For Iterative Imputer, both numeric and categorical variables can be added. However, categorical variables like gender need to be properly encoded (by using integer encoding or one-hot encoding) before imputation. Therefore, it is possible to include gender in the imputation process as long as it is appropriately preprocessed.
Best,
Ned

Submit an answer