8000 Add random_state to all classifiers in file by TamaraAtanasoska · Pull Request #26968 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

Add random_state to all classifiers in file #26968

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

Merged

Conversation

TamaraAtanasoska
Copy link
Contributor

Reference Issues/PRs

Fixes #17568.

What does this implement/fix? Explain your changes.

This PR adds the parameter random_state to all the classifiers in the file that take that parameter. With this the generated image should always be the same.

Any other comments?

This PR was done as part of the PyLadies workshop meetup.
@adrinjalali and @glemaitre please take a look. Thank you!

Co-authored-by: AnnaWey <annawey@mail.de>
@github-actions
Copy link
github-actions bot commented Aug 1, 2023

✔️ Linting Passed

All linting checks passed. Your pull request is in excellent shape! ☀️

Generated for commit: 5373994. Link to the linter CI: here

@adrinjalali adrinjalali merged commit 7c6e1e9 into scikit-learn:main Aug 2, 2023
@TamaraAtanasoska TamaraAtanasoska deleted the image-randomness-removal branch August 2, 2023 12:56
9Y5 pushed a commit to 9Y5/scikit-learn that referenced this pull request Aug 2, 2023
glemaitre pushed a commit to glemaitre/scikit-learn that referenced this pull request Sep 18, 2023
jeremiedbb pushed a commit that referenced this pull request Sep 20, 2023
REDVM pushed a commit to REDVM/scikit-learn that referenced this pull request Nov 16, 2023
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.

Reduce the size of some images in the documentation
2 participants
0