Commit Graph

60 Commits

Author SHA1 Message Date
Christian Lorentzen bf0ece817d
ENH add sample_weight to sparse coordinade descent (#22808) 2022-03-25 11:09:28 +01:00
Jérémie du Boisberranger d76f87c8eb
Fix Ridge sparse + sample_weight + intercept (#22899)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2022-03-22 20:15:54 +01:00
MarieS-WiMLDS 617e9c458b
fix(doc): fix sklearn.linear_model._ridge.ridge_regression (#22788)
Co-authored-by: Marie <marie.sacksick@cybelangel.com>
2022-03-12 16:57:10 +01:00
Christian Lorentzen 1c094728a3
CLN clean _preprocess_data in linear_model (#22762) 2022-03-11 13:48:27 -05:00
Meekail Zain 58cfd486c4
DOC Standardizing the documentation for `alpha` in `Ridge` and `Lasso` (#22684)
Co-authored-by: Saif Ul Islam <saifulislam84210@gmail.com>
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2022-03-07 10:38:43 +01:00
Thomas J. Fan 1fc86b6aac
MNT Update black to stable version (#22474) 2022-02-15 11:36:26 +01:00
Arturo Amor 3e0f49b623
MNT Add validation for parameter `alphas` in `RidgeCV` (#21606)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
2021-12-01 18:56:21 +01:00
Arturo Amor cacc034bba
MNT Add validation of scalar parameters in Ridge (#21341)
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-12-01 12:05:18 +01:00
ArturoAmor 2cf3c55807
MNT Postpone conversion of `RidgeCV`'s `alphas` out of `__init__` (#21506) 2021-11-03 18:41:21 +01:00
mandjevant bb7e34bc52
DOC fix typo in RidgeCV docstring (#21509) 2021-10-30 12:16:17 +02:00
Guillaume Lemaitre 90e04a5f15
FIX add support for multilabel classification in RidgeClassifier* (#19869)
Co-authored-by: Alexandre Gramfort <alexandre.gramfort@m4x.org>
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2021-10-27 15:18:02 +02:00
Jérémie du Boisberranger a9bf7f38d7
FIX delete feature_names_in_ when refitting on a ndarray (#21389)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-10-23 12:30:05 +02:00
Dimitri Papadopoulos Orfanos f71c031314
DOC Typos found by codespell (#21069) 2021-09-17 19:04:54 +02:00
genvalen 642127806a
DOC use backticks for n_samples and n_features in X docstring (#20914) 2021-09-02 13:35:03 +02:00
Thomas J. Fan 786c4e5e39
DOC Adds feature_names_in_ to docstrings (#20787) 2021-08-26 13:44:45 +02:00
Juan Martin Loyola d488d733ea
DOC Ensures that RidgeClassifierCV passes numpydoc validation (#20800)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-08-21 17:09:58 +02:00
Juan Martin Loyola 9f366caecf
DOC Ensures that RidgeClassifier passes numpydoc validation (#20797)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-08-21 14:42:10 +02:00
Thomas J. Fan 416898b7f4
ENH Adds Column name consistency (#18010)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-08-17 14:48:21 +02:00
Guillaume Lemaitre a44e9a8ca6
TST check multilabel common check for supported estimators (#19859)
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
2021-08-06 10:57:55 +02:00
Sean Benhur J beea7838cc
DOC fix description of cv_values_ attribute in Ridge*CV when scoring is not None (#20237)
Co-authored-by: Chiara Marmo <cmarmo@users.noreply.github.com>
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-07-22 20:18:51 +02:00
Aline Ribeiro de Almeida ced7b8c4e9
DOC Ensures that RidgeCV passes numpydoc validation (#20503)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-07-13 11:28:21 +02:00
Aline Ribeiro de Almeida 5c499942e0
DOC Ensures that Ridge passes numpydoc validation (#20499) 2021-07-10 17:21:06 -04:00
Toshihiro NAKAE 18eef9adf9
FEA Add positive argument to Ridge using L-BFGS-B solver (#20231) 2021-07-04 22:43:32 +02:00
Thomas J. Fan 3ae7c76153
STY Enables black with experimental_string_processing=true (#20412) 2021-06-29 09:47:04 +02:00
Thomas J. Fan 351ace7935
STY Uses black's with target_version >= 3.7 (#20294) 2021-06-17 15:50:27 -04:00
Thomas J. Fan 82df48934e
MNT Applies black formatting to most of the code base (#18948) 2021-06-17 14:21:09 -04:00
Thomas J. Fan 9a13bdfaf1
MNT Adds black config and fixes formatting before black (#19031)
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
Co-authored-by: Christian Lorentzen <lorentzen.ch@gmail.com>
2021-06-12 17:14:09 +02:00
Guillaume Lemaitre 1cd282d600
DOC add n_features_in_ in the documentation (#20236) 2021-06-09 16:58:03 +02:00
Tom Dupré la Tour f6e6ad2d9e
MNT clean futurewarning for 1.0 | _deprecate_positional_args (#20002)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2021-05-14 11:30:27 -04:00
Maria Telenczuk 9cfacf1540
DEP Deprecate 'normalize' in ridge models (#17772)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Alexandre Gramfort <alexandre.gramfort@m4x.org>
2021-04-06 21:33:28 +02:00
Paulo S. Costa da395dde38
DOC Fix cross-validation wording in RidgeCV (#19121) 2021-01-05 19:19:15 -08:00
Brian Rice e1408d05c5
MNT better error message in RidgeCV (#19020) 2020-12-17 08:32:24 +00:00
Albert Villanova del Moral 7e545e1724
DOC Fix versionadded for 0.23 (#18522) 2020-10-05 10:23:32 +11:00
Albert Villanova del Moral 647fcb1ac1
DOC Fix A to uppercase in See Also docstring section (#18332) 2020-09-04 10:35:01 -04:00
Albert Villanova del Moral 875d32fe55
DOC Fix versionadded/versionchanged for 0.24 (#18312) 2020-09-01 10:51:01 +02:00
Sunitha Selvan ae7667ce22
DOC mention LOOCV instead of GCV in RidgeCV (#18154) 2020-08-18 11:32:21 +02:00
Marijn van Vliet fd653f8f3e
ENH Add alpha_per_target parameter to RidgeCV (#6624)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2020-08-06 12:24:53 -04:00
Nicolas Hug 1dedc7e6a8
[MRG] Prototype 4 for strict check_estimator mode (#17361) 2020-08-06 12:02:15 +02:00
Saurabh Jain 00bc681e10
DOC shorten class links in docstring using tilde (#17470)
* added tilde to bunch of files

* Updated _kde.py

Changed array_like to array-like

* Updated _kde.py

Removed space

* updated _kde.py

Added full stop

* PEP8

Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2020-06-16 10:44:13 +02:00
Roman Yurchak 8feb04524c
Common check for sample weight invariance with removed samples (#17176)
Co-Authored-By: Nicolas Hug <contact@nicolas-hug.com>
2020-06-04 00:30:01 +02:00
Roman Yurchak 818e16a1ea Revert "Common check for sample weight invariance with removed samples (#16507)"
This reverts commit 77279d6b3e.
2020-05-10 17:05:01 +02:00
Roman Yurchak 77279d6b3e
Common check for sample weight invariance with removed samples (#16507)
Co-Authored-By: Nicolas Hug <contact@nicolas-hug.com>
2020-05-10 15:41:53 +02:00
Bharat Raghunathan 0c0b834d11
DOC detail fit_intercept docstring (#17096) 2020-05-01 08:32:01 -04:00
Adrin Jalali dc0cc6e9be
[MRG] API kwonly args in impute, inspection, kernel_ridge (#16926)
, and linear_model
2020-04-19 22:58:47 +02:00
Alex Henrie 438bb3a438
MNT Remove unused imports (#16665) 2020-03-11 10:01:51 +11:00
Alexandre Gramfort 60b8fb221b
TST add test of fit attributes (#16286) 2020-03-04 13:52:13 +01:00
Nicolas Hug d205638475
MNT Introduction of n_features_in_ attr with _validate_data mtd (#16112) 2020-02-29 09:05:11 -05:00
Nicolas Hug e61fc6cdd1
DOC Fix alpha param of ridge estimators (#16288) 2020-01-29 13:32:16 -05:00
Tirth Patel 40f668c038 MNT replace self.solver with solver in _ridge.py (#16054) 2020-01-09 20:11:21 +11:00
Marie Douriez ceed3eb490 DOC improve random_state docsting in _ridge and small clean-up (#15728) 2020-01-08 16:57:54 +01:00