Skip to content

Update windows checkin tests: remove unneeded conda step for xgboost!#618

Merged
dsherry merged 5 commits into
masterfrom
ds_windows_conda_xgboost_update
Apr 11, 2020
Merged

Update windows checkin tests: remove unneeded conda step for xgboost!#618
dsherry merged 5 commits into
masterfrom
ds_windows_conda_xgboost_update

Conversation

@dsherry
Copy link
Copy Markdown
Contributor

@dsherry dsherry commented Apr 11, 2020

Windows py38 tests have been taking 19min to install xgboost using anaconda's py-xgboost package 💩

I tried using conda-forge's xgboost package but couldn't get it to work. But while it was broken I noticed the unit tests still passed... on further inspection, it appears the python xgboost package contains all that's necessary to run xgboost on windows! I.e. the conda install step is not required. That's great news :)

Also added some test coverage to update the xgboost pipeline tests. Sklearn is great but its also bloated... I had to dig through three files to find out what Pipeline.score does by default. For classification the answer is accuracy.

@dsherry dsherry force-pushed the ds_windows_conda_xgboost_update branch from 2d49dfa to b73fe5b Compare April 11, 2020 01:20
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 11, 2020

Codecov Report

Merging #618 into master will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #618   +/-   ##
=======================================
  Coverage   98.90%   98.90%           
=======================================
  Files         118      118           
  Lines        4456     4458    +2     
=======================================
+ Hits         4407     4409    +2     
  Misses         49       49           
Impacted Files Coverage Δ
evalml/tests/pipeline_tests/test_xgboost.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 434e7e3...b73fe5b. Read the comment docs.

Copy link
Copy Markdown
Contributor

@angela97lin angela97lin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sweeeet, am I reading this correctly--it now takes ~10 minutes to run the windows tests? 👏

@dsherry
Copy link
Copy Markdown
Contributor Author

dsherry commented Apr 11, 2020

Yeah!!

@dsherry dsherry merged commit 892e344 into master Apr 11, 2020
@dsherry dsherry deleted the ds_windows_conda_xgboost_update branch April 13, 2020 17:18
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