Skip to content

Commit fa45329

Browse files
minor grammatical fix
1 parent a05bc8d commit fa45329

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sklearn/model_selection/_split.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -343,8 +343,8 @@ class KFold(_BaseKFold):
343343
Provides train/test indices to split data in train/test sets. Split
344344
dataset into k consecutive folds (without shuffling by default).
345345
346-
Each fold is then used a validation set once while the k - 1 remaining
347-
fold form the training set.
346+
Each fold is then used once as a validation while the k - 1 remaining
347+
folds form the training set.
348348
349349
Read more in the :ref:`User Guide <cross_validation>`.
350350
@@ -386,7 +386,7 @@ class KFold(_BaseKFold):
386386
See also
387387
--------
388388
StratifiedKFold
389-
For taking label information into account to avoid building folds with
389+
Takes label information into account to avoid building folds with
390390
imbalanced class distributions (for binary or multiclass
391391
classification tasks).
392392

0 commit comments

Comments
 (0)