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

Add scikit-learn tests #3674

Merged
merged 3 commits into from
Sep 6, 2018
Merged

Add scikit-learn tests #3674

merged 3 commits into from
Sep 6, 2018

Conversation

hcho3
Copy link
Collaborator

@hcho3 hcho3 commented Sep 5, 2018

Goal is to pass scikit-learn's check_estimator() for XGBClassifier, XGBRegressor, and XGBRanker.
It is actually not possible to do so entirely, since check_estimator() assumes that NaN is disallowed, but XGBoost allows for NaN as missing values. However, it is always good idea to add some checks inspired by check_estimator().

Related: #3580

Goal is to pass scikit-learn's check_estimator() for XGBClassifier,
XGBRegressor, and XGBRanker. It is actually not possible to do so
entirely, since check_estimator() assumes that NaN is disallowed,
but XGBoost allows for NaN as missing values. However, it is always
good ideas to add some checks inspired by check_estimator().
@hcho3 hcho3 merged commit d176a0f into dmlc:master Sep 6, 2018
@hcho3 hcho3 mentioned this pull request Sep 6, 2018
@hcho3 hcho3 deleted the add_sklearn_test branch September 6, 2018 21:46
hcho3 added a commit to hcho3/xgboost that referenced this pull request Sep 7, 2018
@hcho3 hcho3 mentioned this pull request Sep 7, 2018
hcho3 added a commit that referenced this pull request Sep 7, 2018
* Revert "Add scikit-learn as dependency for doc build (#3677)"

This reverts commit 308f664.

* Revert "Add scikit-learn tests (#3674)"

This reverts commit d176a0f.
mxxun pushed a commit to mxxun/xgboost that referenced this pull request Sep 7, 2018
* Add scikit-learn tests

Goal is to pass scikit-learn's check_estimator() for XGBClassifier,
XGBRegressor, and XGBRanker. It is actually not possible to do so
entirely, since check_estimator() assumes that NaN is disallowed,
but XGBoost allows for NaN as missing values. However, it is always
good ideas to add some checks inspired by check_estimator().

* Fix lint

* Fix lint
mxxun pushed a commit to mxxun/xgboost that referenced this pull request Sep 7, 2018
* Revert "Add scikit-learn as dependency for doc build (dmlc#3677)"

This reverts commit 308f664.

* Revert "Add scikit-learn tests (dmlc#3674)"

This reverts commit d176a0f.
CodingCat pushed a commit to CodingCat/xgboost that referenced this pull request Sep 18, 2018
* Add scikit-learn tests

Goal is to pass scikit-learn's check_estimator() for XGBClassifier,
XGBRegressor, and XGBRanker. It is actually not possible to do so
entirely, since check_estimator() assumes that NaN is disallowed,
but XGBoost allows for NaN as missing values. However, it is always
good ideas to add some checks inspired by check_estimator().

* Fix lint

* Fix lint
CodingCat pushed a commit to CodingCat/xgboost that referenced this pull request Sep 18, 2018
* Revert "Add scikit-learn as dependency for doc build (dmlc#3677)"

This reverts commit 308f664.

* Revert "Add scikit-learn tests (dmlc#3674)"

This reverts commit d176a0f.
alois-bissuel pushed a commit to criteo-forks/xgboost that referenced this pull request Dec 4, 2018
* Add scikit-learn tests

Goal is to pass scikit-learn's check_estimator() for XGBClassifier,
XGBRegressor, and XGBRanker. It is actually not possible to do so
entirely, since check_estimator() assumes that NaN is disallowed,
but XGBoost allows for NaN as missing values. However, it is always
good ideas to add some checks inspired by check_estimator().

* Fix lint

* Fix lint
alois-bissuel pushed a commit to criteo-forks/xgboost that referenced this pull request Dec 4, 2018
* Revert "Add scikit-learn as dependency for doc build (dmlc#3677)"

This reverts commit 308f664.

* Revert "Add scikit-learn tests (dmlc#3674)"

This reverts commit d176a0f.
@lock lock bot locked as resolved and limited conversation to collaborators Dec 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant