@@ -70,7 +70,7 @@ class BlockShuffleSplit(BaseBlockCrossValidator):
7070 absolute number of test samples. If None, the value is set to the
7171 complement of the train size. If ``train_size`` is also None, it will
7272 be set to 0.1.
73- train_size : float, int, or None, default=None
73+ train_size : float, int or None, default=None
7474 If float, should be between 0.0 and 1.0 and represent the
7575 proportion of the dataset to include in the train split. If
7676 int, represents the absolute number of train samples. If None,
@@ -605,11 +605,11 @@ def cross_val_score(
605605 scoring function (e.g., mean square error, mean absolute error, etc).
606606
607607 Can optionally run in parallel using :mod:`dask`. To do this, use
608- ``delayed=True`` to dispatch computations with :func:`dask.delayed` instead
609- of running them. The returned scores will be "lazy" objects instead of the
610- actual scores. To trigger the computation (which Dask will run in parallel)
611- call the `.compute()` method of each score or :func:`dask.compute` with the
612- entire list of scores.
608+ ``delayed=True`` to dispatch computations with :func:`dask.delayed.delayed`
609+ instead of running them. The returned scores will be "lazy" objects instead
610+ of the actual scores. To trigger the computation (which Dask will run in
611+ parallel) call the `.compute()` method of each score or
612+ :func:`dask.compute` with the entire list of scores.
613613
614614 .. warning::
615615
@@ -639,11 +639,12 @@ def cross_val_score(
639639 be a dask ``Client`` object. It will be used to dispatch computations
640640 to the dask cluster.
641641 delayed : bool
642- If True, will use :func:`dask.delayed` to dispatch computations without
643- actually executing them. The returned scores will be a list of delayed
644- objects. Call `.compute()` on each score or :func:`dask.compute` on the
645- entire list to trigger the actual computations.
646- scoring : None, str, or callable
642+ If True, will use :func:`dask.delayed.delayed` to dispatch computations
643+ without actually executing them. The returned scores will be a list of
644+ delayed objects. Call `.compute()` on each score or
645+ :func:`dask.compute` on the entire list to trigger the actual
646+ computations.
647+ scoring : None, str or callable
647648 A scoring function (or name of a function) known to scikit-learn. See
648649 the description of *scoring* in
649650 :func:`sklearn.model_selection.cross_val_score` for details. If None,
0 commit comments