File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 174
174
"sklearn.metrics.pairwise.sigmoid_kernel" ,
175
175
"sklearn.model_selection._split.check_cv" ,
176
176
"sklearn.model_selection._split.train_test_split" ,
177
- "sklearn.model_selection._validation.cross_val_predict" ,
178
177
"sklearn.model_selection._validation.cross_val_score" ,
179
178
"sklearn.model_selection._validation.cross_validate" ,
180
179
"sklearn.model_selection._validation.learning_curve" ,
Original file line number Diff line number Diff line change @@ -808,7 +808,7 @@ def cross_val_predict(
808
808
pre_dispatch = "2*n_jobs" ,
809
809
method = "predict" ,
810
810
):
811
- """Generate cross-validated estimates for each input data point
811
+ """Generate cross-validated estimates for each input data point.
812
812
813
813
The data is split according to the cv parameter. Each sample belongs
814
814
to exactly one test set, and its prediction is computed with an
@@ -846,7 +846,7 @@ def cross_val_predict(
846
846
- None, to use the default 5-fold cross validation,
847
847
- int, to specify the number of folds in a `(Stratified)KFold`,
848
848
- :term:`CV splitter`,
849
- - An iterable yielding (train, test) splits as arrays of indices.
849
+ - An iterable that generates (train, test) splits as arrays of indices.
850
850
851
851
For int/None inputs, if the estimator is a classifier and ``y`` is
852
852
either binary or multiclass, :class:`StratifiedKFold` is used. In all
You can’t perform that action at this time.
0 commit comments