Skip to content

Commit fc65d9f

Browse files
MarcoGorellijnothman
authored andcommitted
DOC Remove attribute from DummyClassifier and DummyRegressor, as they are not implemented (scikit-learn#13139)
1 parent d1534a5 commit fc65d9f

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

sklearn/dummy.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,9 @@ class DummyClassifier(BaseEstimator, ClassifierMixin):
7171
n_outputs_ : int,
7272
Number of outputs.
7373
74-
outputs_2d_ : bool,
75-
True if the output at fit is 2d, else false.
76-
7774
sparse_output_ : bool,
7875
True if the array returned from predict is to be in sparse CSC format.
7976
Is automatically set to True if the input y is passed in sparse format.
80-
8177
"""
8278

8379
def __init__(self, strategy="stratified", random_state=None,
@@ -390,9 +386,6 @@ class DummyRegressor(BaseEstimator, RegressorMixin):
390386
391387
n_outputs_ : int,
392388
Number of outputs.
393-
394-
outputs_2d_ : bool,
395-
True if the output at fit is 2d, else false.
396389
"""
397390

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

0 commit comments

Comments
 (0)