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 seed in train_test_split #3211

Merged
merged 10 commits into from
Apr 4, 2024
Merged

Add seed in train_test_split #3211

merged 10 commits into from
Apr 4, 2024

Conversation

adam-narozniak
Copy link
Contributor

@adam-narozniak adam-narozniak commented Apr 3, 2024

Issue

train_test_split method of Dataset should be used with the seed set

Proposal

set seed to 42

Explanation

This makes sure that if you reuse the splitting during the training, you get the same results each time.

Changelog entry

@adam-narozniak adam-narozniak changed the title Add seed and set shuffle False in train_test_split Add seed in train_test_split Apr 3, 2024
@jafermarq jafermarq mentioned this pull request Apr 4, 2024
@jafermarq jafermarq enabled auto-merge (squash) April 4, 2024 10:44
@jafermarq jafermarq merged commit 1336aa9 into main Apr 4, 2024
31 checks passed
@jafermarq jafermarq deleted the update-train-test-split branch April 4, 2024 15:51
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.

4 participants