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

Fixed sklearn deprecate positional args warning #11

Merged
merged 1 commit into from
Sep 12, 2020

Conversation

Aroksak
Copy link
Contributor

@Aroksak Aroksak commented Sep 10, 2020

Fixed FuttureWarning from sklearn:
/lib/python3.8/site-packages/sklearn/utils/validation.py:67: FutureWarning: Pass n_repeats=3, random_state=0 as keyword args. From version 0.25 passing these as positional arguments will result in an error warnings.warn("Pass {} as keyword args. From version 0.25 "

Also removed random_state=1 from tests, because sklearn deprecated setting random_state with shuffle=False.

@trent-b trent-b merged commit ee88b03 into trent-b:master Sep 12, 2020
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.

None yet

2 participants