Skip to content
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

How to deal with missing values? #13

Open
liuliu629 opened this issue Jun 5, 2018 · 1 comment
Open

How to deal with missing values? #13

liuliu629 opened this issue Jun 5, 2018 · 1 comment

Comments

@liuliu629
Copy link

How to deal with missing values in the input data set?

@kingfengji
Copy link

it depends on the base estimators.
For instance, xgboost/lightgbm can handle None values in attributes without preprocessing, whereas scikit-learn requires to replace missing values using one-hot encoding or filling some numbers such as mean/median.
details can be found:
dmlc/xgboost#21
you can also write your own classifiers as base estimator with such features. e.g., https://stats.stackexchange.com/questions/98953/why-doesnt-random-forest-handle-missing-values-in-predictors

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants