Skip to content

Commit e6555de

Browse files
authored
DOC minor typo fix in successive halving (scikit-learn#18601)
1 parent 193670c commit e6555de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sklearn/model_selection/_search_successive_halving.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ class HalvingGridSearchCV(BaseSuccessiveHalving):
394394
- ``n_splits * 2`` when ``resource='n_samples'`` for a regression
395395
problem
396396
- ``n_classes * n_splits * 2`` when ``resource='n_samples'`` for a
397-
regression problem
397+
classification problem
398398
- ``1`` when ``resource != 'n_samples'``
399399
- 'exhaust' will set `r0` such that the **last** iteration uses as
400400
much resources as possible. Namely, the last iteration will use the
@@ -681,7 +681,7 @@ class HalvingRandomSearchCV(BaseSuccessiveHalving):
681681
- ``n_splits * 2`` when ``resource='n_samples'`` for a regression
682682
problem
683683
- ``n_classes * n_splits * 2`` when ``resource='n_samples'`` for a
684-
regression problem
684+
classification problem
685685
- ``1`` when ``resource != 'n_samples'``
686686
- 'exhaust' will set `r0` such that the **last** iteration uses as
687687
much resources as possible. Namely, the last iteration will use the

0 commit comments

Comments
 (0)