Skip to content

Add Non-numeric data check #129

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

balajitummala
Copy link
Contributor

Description of changes:
Currently, XGBoost doesn't fail when reading non-numeric data in CSV. Added a check to throw an error if the training data contains non-numeric data.

Testing

  • Added a unit test
    tox -e py3-xgboost1.0,flake8

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@edwardjkim
Copy link
Contributor

Doesn't upstream XGBoost allow non-numeric data, for example NA for missing values?

@edwardjkim edwardjkim closed this Sep 10, 2020
@edwardjkim edwardjkim reopened this Sep 10, 2020
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

Successfully merging this pull request may close these issues.

2 participants