8000 Modification of the documentation for the fit method in the Ridge class. by sperret6 · Pull Request #28117 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

Modification of the documentation for the fit method in the Ridge class. #28117

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 9 commits into from
3 changes: 2 additions & 1 deletion sklearn/linear_model/_ridge.py
Original file line number Diff line number Diff line change
Expand Up @@ -1969,7 +1969,8 @@ def fit(self, X, y, sample_weight=None):

sample_weight : float or ndarray of shape (n_samples,), default=None
Individual weights for each sample. If given a float, every sample
will have the same weight.
will have the same weight. The sample_weight vector should sum to
one.

Returns
-------
Expand Down
0