-
Notifications
You must be signed in to change notification settings - Fork 0
Impute missing #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
…the mean of the column. Fixes bug where they were all set to 0.
|
Thanks Guillaume for the PR, To be discussed when we meet. Few points on my side:
|
|
Thanks for your comments PP. |
Basically after the featurization, the NaNs are not replaced by 0 anymore. The infinite values are replaced by NaNs.
Then, the NaNs are handled when fitting the model using a SimpleImputer which can be chosen. It is then stored as an attribute to the model, and can be re-used when predicting new values.
Things to consider: