8000 Update ridge.py · scikit-learn/scikit-learn@e51701d · GitHub
[go: up one dir, main page]

Skip to content

Commit e51701d

Browse files
authored
Update ridge.py
Make too long lines shorter.
1 parent 0efcb4c commit e51701d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sklearn/linear_model/ridge.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -906,7 +906,7 @@ def fit(self, X, y, sample_weight=None):
906906
y : array-like, shape = [n_samples]
907907
Target values
908908
909-
sample_weight : float or numpy array of shape (n_samples,), default None
909+
sample_weight : {float, numpy array}, shape (n_samples), default None
910910
Sample weight.
911911
912912
.. versionadded:: 0.17
@@ -1815,7 +1815,7 @@ def fit(self, X, y, sample_weight=None):
18151815
y : array-like, shape (n_samples,)
18161816
Target values. Will be cast to X's dtype if necessary
18171817
1818-
sample_weight : float or numpy array of shape (n_samples,), default None
1818+
sample_weight : {float, numpy array}, shape (n_samples), default None
18191819
Sample weight.
18201820
18211821
Returns

0 commit comments

Comments
 (0)
0