Skip to content

Commit 1bcd6c3

Browse files
nelson-liuagramfort
authored andcommitted
fix MultiOutputEstimator fit return docstring (scikit-learn#7150)
1 parent 05dfe6c commit 1bcd6c3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sklearn/multioutput.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,11 @@ def fit(self, X, y, sample_weight=None):
6060
Sample weights. If None, then samples are equally weighted.
6161
Only supported if the underlying regressor supports sample
6262
weights.
63+
6364
Returns
6465
-------
65-
self
66+
self : object
67+
Returns self.
6668
"""
6769

6870
if not hasattr(self.estimator, "fit"):

0 commit comments

Comments
 (0)