Skip to content

DOC Fix a typo in cross_validation.rst - #13398

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

qinhanmin2014 merged 3 commits into
scikit-learn:masterfrom
Kulbear:fix-typo-cross-validation

Conversation

@Kulbear

@Kulbear Kulbear commented Mar 5, 2019 •

Copy link
Copy Markdown
Contributor

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

amueller commented Mar 5, 2019

Copy link
Copy Markdown
Member

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

@Kulbear

Kulbear commented Mar 5, 2019 •

Copy link
Copy Markdown
Contributor Author

@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

amueller commented Mar 6, 2019 •

Copy link
Copy Markdown
Member

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

@amueller

amueller commented Mar 6, 2019

Copy link
Copy Markdown
Member

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

@Kulbear

Kulbear commented Mar 6, 2019

Copy link
Copy Markdown
Contributor Author

@amueller Glad to make it work!
No worries.

@qinhanmin2014 qinhanmin2014 left a comment

Copy link
Copy Markdown
Member

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