Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions sklearn/dummy.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ class DummyClassifier(BaseEstimator, ClassifierMixin, MultiOutputMixin):
n_outputs_ : int,
Number of outputs.

outputs_2d_ : bool,
Is true if the output at fit is 2d; is false otherwise

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.
Expand Down Expand Up @@ -392,6 +395,9 @@ class DummyRegressor(BaseEstimator, RegressorMixin, MultiOutputMixin):

n_outputs_ : int,
Number of outputs.

outputs_2d_ : bool,
Is true if the output at fit is 2d; is false otherwise
"""

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