diff --git a/sklearn/model_selection/_split.py b/sklearn/model_selection/_split.py index 866cb4cc53aa8..399f8df3a0ee2 100644 --- a/sklearn/model_selection/_split.py +++ b/sklearn/model_selection/_split.py @@ -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. @@ -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. @@ -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. @@ -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. @@ -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. @@ -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. @@ -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. @@ -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. @@ -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.