8000 FIX/DOC test_folds --> test_fold · raghavrv/scikit-learn@8d39d5d · GitHub
[go: up one dir, main page]

Skip to content

Commit 8d39d5d

Browse files
committed
FIX/DOC test_folds --> test_fold
1 parent 789a316 commit 8d39d5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/model_selection/split.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -947,7 +947,7 @@ class PredefinedSplit(BaseCrossValidator):
947947
>>> from sklearn.model_selection import PredefinedSplit
948948
>>> X = np.array([[1, 2], [3, 4], [1, 2], [3, 4]])
949949
>>> y = np.array([0, 0, 1, 1])
950-
>>> test_folds = [0, 1, -1, 1]
950+
>>> test_fold = [0, 1, -1, 1]
951951
>>> ps = PredefinedSplit(test_fold)
952952
>>> ps.n_splits()
953953
2

0 commit comments

Comments
 (0)
0