Thanks to visit codestin.com
Credit goes to github.com

Skip to content

be more friendly in the deprecation warning of cv=3 #13395

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
merged 3 commits into from
Mar 5, 2019

Conversation

amueller
Copy link
Member

@amueller amueller commented Mar 5, 2019

I don't like that the warning tells users to not rely on the default. If we want the user not to rely on the default, we should change it to not have a default instead of 5. I think 5 is a good default and the user can happily rely on it.

I have been unhappy about this warning for a while but didn't really have the bandwidth to do something about it.

Most users will see this warning at some point, I think we should make sure it's friendly and makes sense.

@adrinjalali adrinjalali merged commit d879b5c into scikit-learn:master Mar 5, 2019
@amueller
Copy link
Member Author

amueller commented Mar 5, 2019

:D thanks folks!

xhluca pushed a commit to xhluca/scikit-learn that referenced this pull request Apr 28, 2019
…#13395)

* be more friendly in the deprecation of cv=3

* add hint on specifying cv

* catch all the right warnings
xhluca pushed a commit to xhluca/scikit-learn that referenced this pull request Apr 28, 2019
xhluca pushed a commit to xhluca/scikit-learn that referenced this pull request Apr 28, 2019
koenvandevelde pushed a commit to koenvandevelde/scikit-learn that referenced this pull request Jul 12, 2019
…#13395)

* be more friendly in the deprecation of cv=3

* add hint on specifying cv

* catch all the right warnings
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