Skip to content

Commit

Permalink
DOC Remove attribute from DummyClassifier and DummyRegressor, as they…
Browse files Browse the repository at this point in the history
… are not implemented (scikit-learn#13139)
  • Loading branch information
MarcoGorelli authored and jnothman committed Feb 12, 2019
1 parent d1534a5 commit fc65d9f
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions sklearn/dummy.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,9 @@ class DummyClassifier(BaseEstimator, ClassifierMixin):
n_outputs_ : int,
Number of outputs.
outputs_2d_ : bool,
True if the output at fit is 2d, else false.
sparse_output_ : bool,
True if the array returned from predict is to be in sparse CSC format.
Is automatically set to True if the input y is passed in sparse format.
"""

def __init__(self, strategy="stratified", random_state=None,
Expand Down Expand Up @@ -390,9 +386,6 @@ class DummyRegressor(BaseEstimator, RegressorMixin):
n_outputs_ : int,
Number of outputs.
outputs_2d_ : bool,
True if the output at fit is 2d, else false.
"""

def __init__(self, strategy="mean", constant=None, quantile=None):
Expand Down

0 comments on commit fc65d9f

Please sign in to comment.