Skip to content

DOC Fix a typo in cross_validation.rst#13398

Merged
qinhanmin2014 merged 3 commits intoscikit-learn:masterfrom
Kulbear:fix-typo-cross-validation
Mar 7, 2019
Merged

DOC Fix a typo in cross_validation.rst#13398
qinhanmin2014 merged 3 commits intoscikit-learn:masterfrom
Kulbear:fix-typo-cross-validation

Conversation

@Kulbear
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Member

amueller commented Mar 6, 2019

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

@amueller
Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

Kulbear commented Mar 6, 2019

@amueller Glad to make it work!
No worries.

Copy link
Copy Markdown
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