8000 FIX #11215 : Changing return in docstring to yields for generator functions by Andrew-peng · Pull Request #11276 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

FIX #11215 : Changing return in docstring to yields for generator functions #11276

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 4 commits into from
Jun 15, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 18 additions & 18 deletions sklearn/model_selection/_split.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ def split(self, X, y=None, groups=None):
Group labels for the samples used while splitting the dataset into
train/test set.

Returns
-------
Yields
------
train : ndarray
The training set indices for that split.

Expand Down Expand Up @@ -301,8 +301,8 @@ def split(self, X, y=None, groups=None):
Group labels for the samples used while splitting the dataset into
train/test set.

Returns
-------
Yields
------
train : ndarray
The training set indices for that split.

Expand Down Expand Up @@ -647,8 +647,8 @@ def split(self, X, y, groups=None):
groups : object
Always ignored, exists for compatibility.

Returns
-------
Yields
------
train : ndarray
The training set indices for that split.

Expand Down Expand Up @@ -734,8 +734,8 @@ def split(self, X, y=None, groups=None):
groups : array-like, with shape (n_samples,), optional
Always ignored, exists for compatibility.

Returns
-------
Yields
------
train : ndarray
The training set indices for that split.

Expand Down Expand Up @@ -1006,8 +1006,8 @@ def split(self, X, y=None, groups=None):
Group labels for the samples used while splitting the dataset into
train/test set.

Returns
-------
Yields
------
train : ndarray
The training set indices for that split.

Expand Down Expand Up @@ -1182,8 +1182,8 @@ def split(self, X, y=None, groups=None):
Group labels for the samples used while splitting the dataset into
train/test set.

Returns
-------
Yields
------
train : ndarray
The training set indices for that split.

Expand Down Expand Up @@ -1603,8 +1603,8 @@ def split(self, X, y, groups=None):
groups : object
Always ignored, exists for compatibility.

Returns
-------
Yields
------
train : ndarray
The training set indices for that split.

Expand Down Expand Up @@ -1763,8 +1763,8 @@ def split(self, X=None, y=None, groups=None):
groups : object
Always ignored, exists for compatibility.

Returns
-------
Yields
------
train : ndarray
The training set indices for that split.

Expand Down Expand Up @@ -1847,8 +1847,8 @@ def split(self, X=None, y=None, groups=None):
groups : object
Always ignored, exists for compatibility.

Returns
-------
Yields
------
train : ndarray
The training set indices for that split.

Expand Down
0