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

Skip to content

DOC Fix a typo in cross_validation.rst #13398

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 7, 2019
Merged

DOC Fix a typo in cross_validation.rst #13398

merged 3 commits into from
Mar 7, 2019

Conversation

Kulbear
Copy link
Contributor

@Kulbear Kulbear commented Mar 5, 2019

Reference Issues/PRs

None

What does this implement/fix? Explain your changes.

I believe there is a typo in the documentation for cross validation, as I have changed.

Any other comments?

Options could be either change the key name in the dict scoring or the keyword argument in make_scorer.

I went for the second option.

@amueller
Copy link
Member

amueller commented Mar 5, 2019

there's a typo indeed, but I think the key should be changed, not the value.

@Kulbear
Copy link
Contributor Author

Kulbear commented Mar 5, 2019

@amueller Yeah, comparing two macro metrics seem to be more reasonable. Updated.

@Kulbear Kulbear changed the title DOCFix a typo in cross_validation.rst DOC Fix a typo in cross_validation.rst Mar 5, 2019
@amueller
Copy link
Member

amueller commented Mar 6, 2019

you need to also change the expected output, see CI failure.

@amueller
Copy link
Member

amueller commented Mar 6, 2019

Also: thanks for your contribution and the quick update. Sorry I can be a bit terse ;)

@Kulbear
Copy link
Contributor Author

Kulbear commented Mar 6, 2019

@amueller Glad to make it work!
No worries.

Copy link
Member

@qinhanmin2014 qinhanmin2014 left a comment

Choose a reason for hiding this comment

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

LGTM, thanks @Kulbear

@qinhanmin2014 qinhanmin2014 merged commit ab64926 into scikit-learn:master Mar 7, 2019
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
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
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