@@ -253,7 +253,7 @@ class KFold(_BaseKFold):
253
253
"""K-Folds cross validation iterator.
254
254
255
255
Provides train/test indices to split data in train test sets. Split
256
- dataset into k consecutive folds (without shuffling).
256
+ dataset into k consecutive folds (without shuffling by default ).
257
257
258
258
Each fold is then used a validation set once while the k - 1 remaining
259
259
fold form the training set.
@@ -272,8 +272,8 @@ class KFold(_BaseKFold):
272
272
Whether to shuffle the data before splitting into batches.
273
273
274
274
random_state : None, int or RandomState
275
- Pseudo -random number generator state used for random
276
- sampling . If None, use default numpy RNG for shuffling
275
+ When shuffle=True, pseudo -random number generator state used for
276
+ shuffling . If None, use default numpy RNG for shuffling.
277
277
278
278
Examples
279
279
--------
@@ -362,8 +362,8 @@ class StratifiedKFold(_BaseKFold):
362
362
into batches.
363
363
364
364
random_state : None, int or RandomState
365
- Pseudo -random number generator state used for random
366
- sampling . If None, use default numpy RNG for shuffling
365
+ When shuffle=True, pseudo -random number generator state used for
366
+ shuffling . If None, use default numpy RNG for shuffling.
367
367
368
368
Examples
369
369
--------
0 commit comments