Skip to content

Commit

Permalink
DOC adding clusterer tag to dev docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
amueller committed Apr 2, 2015
1 parent 188fb11 commit acb21bb
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions doc/developers/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -892,9 +892,10 @@ on a classifier, but not otherwise. Similarly, scorers for average precision
that take a continuous prediction need to call ``decision_function`` for classifiers,
but ``predict`` for regressors. This distinction between classifiers and regressors
is implemented using the ``_estimator_type`` attribute, which takes a string value.
It should be ``"classifier"`` for classifiers and ``"regressor"`` for regressors,
to work as expected. Inheriting from ``ClassifierMixin`` or ``RegressorMixin`` will
set the attribute automatically.
It should be ``"classifier"`` for classifiers and ``"regressor"`` for
regressors and ``"clusterer"`` for clustering methods, to work as expected.
Inheriting from ``ClassifierMixin``, ``RegressorMixin`` or ``ClusterMixin``
will set the attribute automatically.

Working notes
-------------
Expand Down

0 comments on commit acb21bb

Please sign in to comment.