Skip to content

Commit fc9295a

Browse files
bryant1410virchan
andauthored
DOC Update DummyRegressor.fit docstring to be more precise (scikit-learn#30410)
Co-authored-by: Virgil Chan <[email protected]>
1 parent bbf36cb commit fc9295a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/dummy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ def __init__(self, *, strategy="mean", constant=None, quantile=None):
540540

541541
@_fit_context(prefer_skip_nested_validation=True)
542542
def fit(self, X, y, sample_weight=None):
543-
"""Fit the random regressor.
543+
"""Fit the baseline regressor.
544544
545545
Parameters
546546
----------

0 commit comments

Comments
 (0)