Skip to content

Set random_state arg in Data Splitter - #1579

Merged
bchen1116 merged 5 commits into
mainfrom
bc_1471_datasplit
Dec 18, 2020
Merged

bchen1116 merged 5 commits into
mainfrom
bc_1471_datasplit

Conversation

@bchen1116

Copy link
Copy Markdown
Contributor

fix #1471

By passing in an int rather than np.random.RandomState, we can ensure the resulting datasplits are equivalent so that the AutoMLSearch algorithm can accurately compare model performances.

@bchen1116 bchen1116 self-assigned this Dec 18, 2020
@codecov

codecov Bot commented Dec 18, 2020 •

Copy link
Copy Markdown

Codecov Report

Merging #1579 (8da6a0d) into main (3eb27b8) will increase coverage by 0.1%.
The diff coverage is 100.0%.

Impacted file tree graph

@@            Coverage Diff            @@
##             main    #1579     +/-   ##
=========================================
+ Coverage   100.0%   100.0%   +0.1%     
=========================================
  Files         240      240             
  Lines       18030    18055     +25     
=========================================
+ Hits        18022    18047     +25     
  Misses          8        8             
Impacted Files Coverage Δ
evalml/automl/automl_search.py 99.7% <100.0%> (+0.1%) ⬆️
evalml/tests/automl_tests/test_automl.py 100.0% <100.0%> (ø)

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 3eb27b8...8da6a0d. Read the comment docs.

@bchen1116
bchen1116 marked this pull request as ready for review December 18, 2020 16:42

@jeremyliweishih jeremyliweishih left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

wow!

@bchen1116
bchen1116 merged commit 583d60c into main Dec 18, 2020
@dsherry dsherry mentioned this pull request Dec 29, 2020
@freddyaboulton
freddyaboulton deleted the bc_1471_datasplit branch May 13, 2022 14:58
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.

AutoMLSearch uses slightly different splits for each pipeline

2 participants