File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change 172
172
"sklearn.metrics.pairwise.rbf_kernel" ,
173
173
"sklearn.metrics.pairwise.sigmoid_kernel" ,
174
174
"sklearn.model_selection._split.check_cv" ,
175
- "sklearn.model_selection._split.train_test_split" ,
176
175
"sklearn.model_selection._validation.cross_val_score" ,
177
176
"sklearn.model_selection._validation.cross_validate" ,
178
177
"sklearn.model_selection._validation.learning_curve" ,
Original file line number Diff line number Diff line change @@ -2330,7 +2330,7 @@ def train_test_split(
2330
2330
shuffle = True ,
2331
2331
stratify = None ,
2332
2332
):
2333
- """Split arrays or matrices into random train and test subsets
2333
+ """Split arrays or matrices into random train and test subsets.
2334
2334
2335
2335
Quick utility that wraps input validation and
2336
2336
``next(ShuffleSplit().split(X, y))`` and application to input data
@@ -2363,7 +2363,6 @@ def train_test_split(
2363
2363
Pass an int for reproducible output across multiple function calls.
2364
2364
See :term:`Glossary <random_state>`.
2365
2365
2366
-
2367
2366
shuffle : bool, default=True
2368
2367
Whether or not to shuffle the data before splitting. If shuffle=False
2369
2368
then stratify must be None.
@@ -2414,7 +2413,6 @@ def train_test_split(
2414
2413
2415
2414
>>> train_test_split(y, shuffle=False)
2416
2415
[[0, 1, 2], [3, 4]]
2417
-
2418
2416
"""
2419
2417
n_arrays = len (arrays )
2420
2418
if n_arrays == 0 :
You can’t perform that action at this time.
0 commit comments