File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -890,7 +890,7 @@ For example, cross-validation in :class:`grid_search.GridSearchCV` and
890
890
:func: `cross_validation.cross_val_score ` defaults to being stratified when used
891
891
on a classifier, but not otherwise. Similarly, scorers for average precision
892
892
that take a continuous prediction need to call ``decision_function `` for classifiers,
893
- but ``predict `` for regressors. This destinction between classifiers and regressors
893
+ but ``predict `` for regressors. This distinction between classifiers and regressors
894
894
is implemented using the ``_estimator_type `` attribute, which takes a string value.
895
895
It should be ``"classifier" `` for classifiers and ``"regressor" `` for regressors,
896
896
to work as expected. Inheriting from ``ClassifierMixin `` or ``RegressorMixin `` will
You can’t perform that action at this time.
0 commit comments