Skip to content

Commit 1aeef80

Browse files
DOC fix minor typo in TimeSeriesSplit docstrings (scikit-learn#31640)
Co-authored-by: Jérémie du Boisberranger <jeremie@probabl.ai>
1 parent db21513 commit 1aeef80

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
@@ -1110,10 +1110,10 @@ class TimeSeriesSplit(_BaseKFold):
11101110
while the train set size accumulates data from previous splits.
11111111
11121112
This cross-validation object is a variation of :class:`KFold`.
1113-
In the kth split, it returns first k folds as train set and the
1114-
(k+1)th fold as test set.
1113+
In the k-th split, it returns the first k folds as the train set and the
1114+
(k+1)-th fold as the test set.
11151115
1116-
Note that unlike standard cross-validation methods, successive
1116+
Note that, unlike standard cross-validation methods, successive
11171117
training sets are supersets of those that come before them.
11181118
11191119
Read more in the :ref:`User Guide <time_series_split>`.

0 commit comments

Comments
 (0)