forked from scikit-learn/scikit-learn
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MRG] Implement fitting intercept with
sparse_cg
solver in Ridge re…
…gression (scikit-learn#13336) * add skeleton for fit_intercept with sparse_cg * fix sparse_cg solver with fit_intercept=True * fix test * linting * add what's new entry * remove X_scale and X_offset from public interface of ridge_regression * reformat if clause * fixed linting issues * add comments on about the conditions of different code branches * update warning * remove whitespace * add extra checks in the test of ridge with fit_intercept * remove unused argument
- Loading branch information
1 parent
fa1c66f
commit 8635883
Showing
3 changed files
with
79 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters