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

[MRG] DOC Add LabelKFold in _BaseKFold's docstring #6344

Merged
merged 1 commit into from
Aug 10, 2016

Conversation

yenchenlin
Copy link
Contributor

Since _BaseKFold is also the base class of LabelKFold,
I think LabelKFold should also appeared _BaseKFold's docstring.

@yenchenlin yenchenlin changed the title Add LabelKFold in _BaseKFold's docstring [MRG] DOC Add LabelKFold in _BaseKFold's docstring Feb 13, 2016
@@ -257,7 +257,7 @@ def get_n_splits(self, X, y=None, labels=None):


class _BaseKFold(with_metaclass(ABCMeta, BaseCrossValidator)):
"""Base class for KFold and StratifiedKFold"""
"""Base class for KFold, LabelKFold and StratifiedKFold"""
Copy link
Contributor

Choose a reason for hiding this comment

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

should have a comma after LabelKFold (KFold, LabelKFold and StratifiedKFold -> KFold, LabelKFold, and StratifiedKFold)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for pointing out the mistake.

@nelson-liu
Copy link
Contributor

lgtm besides the comma issue.

@yenchenlin
Copy link
Contributor Author

ping @jnothman , this one is trivial!

@jnothman jnothman merged commit f50790c into scikit-learn:master Aug 10, 2016
TomDLT pushed a commit to TomDLT/scikit-learn that referenced this pull request Oct 3, 2016
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

3 participants