Commit Graph

57 Commits

Author SHA1 Message Date
Guillaume Lemaitre ae2c80a210
MAINT remove normalize parameter and subsequent clean-up (#27855)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
2023-12-04 14:29:06 +00:00
Omar Salman 35efc0558b
FEA Add metadata routing to LarsCV and LassoLarsCV (#27538) 2023-10-10 09:17:26 +00:00
Adrin Jalali 59d5236724
MNT SLEP6: raise NotImplementedError for meta-estimators not supporting metadata routing (#27389) 2023-09-25 13:50:18 +00:00
Loïc Estève 1b9bb5391d
MNT Remove misleading comment (#27115) 2023-08-21 14:05:45 +02:00
avm19 80c39a4966
FIX NumPy DeprecationWarning in a rare branch of _lars_path_solver (#27079)
Co-authored-by: avm19 <52547519avm19@users.noreply.github.com>
2023-08-20 12:16:00 +02:00
Guillaume Lemaitre 5d145bf760
DOC fixes intersphinx warnings (#26779)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2023-07-10 20:25:35 +00:00
Jiawei Zhang d5a354605a
MAINT Parameters validation for lars_path_gram (#26380)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2023-07-07 17:17:15 -04:00
Jiawei Zhang 34446739df
MAINT Parameters validation for sklearn.linear_model.lars_path (#26381)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2023-07-06 10:42:46 -04:00
Adrin Jalali 42173fdb34
MNT add isort to ruff's rules (#26649) 2023-06-21 17:50:07 +02:00
Jérémie du Boisberranger 9c266cf5d6
MAINT Param validation: decorate all estimators with _fit_context (#26473) 2023-06-14 16:52:35 +02:00
Adrin Jalali 893d5accaf
MNT Update black to 23.3.0 (#26110) 2023-04-06 12:14:16 -04:00
adienes c8c51ca719
DOC Fix lars Xy shape (#25952) 2023-03-24 15:44:08 +01:00
Guillaume Lemaitre a7cd0ca44d
FIX propagate configuration to workers in parallel (#25363)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2023-01-20 12:44:35 -05:00
Kilian Kluge 906faa5574
DOC Minor refinements of lars_path docstring (#25235) 2023-01-04 11:58:02 +01:00
Jérémie du Boisberranger e41753ebd5
MAINT Clean deprecation for 1.2: normalize in linear models (#24391) 2022-10-12 14:06:47 +02:00
Petar Mlinarić 360e2d501a
MAINT lars_path_gram passes numpydoc validation (#24319) 2022-09-02 12:22:08 +02:00
Rahil Parikh 6c0e0b2e47
MAINT Parameter Validation for Lars, LarsCV, LassoLars, LassoLarsCV and LassoLarsIC (#24033)
Co-authored-by: jeremie du boisberranger <jeremiedbb@yahoo.fr>
2022-08-30 15:34:05 +02:00
Christian Lorentzen 1c094728a3
CLN clean _preprocess_data in linear_model (#22762) 2022-03-11 13:48:27 -05:00
combscCode 6e39fd6886
DOC Ensures that lars_path passes numpydoc validation (#22500) 2022-02-16 15:59:15 +01:00
Thomas J. Fan 1fc86b6aac
MNT Update black to stable version (#22474) 2022-02-15 11:36:26 +01:00
Mohit Sharma 183b82a83a
DOC explicitely mention refitting strategy in EstimatorCV (#21514)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2022-01-28 16:40:17 +01:00
Guillaume Lemaitre 4f6a28f2eb
FIX/API Fix AIC/BIC in LassoLarsIC and introduce noise_variance (#21481) 2021-11-23 21:32:26 +01:00
Thomas J. Fan 5aecf201a3
CI Fixes test_rank_deficient_design (#21345)
Co-authored-by: Olivier Grisel <olivier.grisel@gmail.com>
2021-10-18 10:52:08 +02:00
Thomas J. Fan 786c4e5e39
DOC Adds feature_names_in_ to docstrings (#20787) 2021-08-26 13:44:45 +02:00
genvalen 69fc0bc901
DOC Ensures that LarsCV passes numpydoc validation (#20517) 2021-07-13 09:40:41 +02:00
genvalen f2fb075813
DOC Ensures that LassoLarsCV passes numpydoc validation (#20462)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Adrin Jalali <adrin.jalali@gmail.com>
2021-07-06 13:38:47 +02:00
genvalen f7fc975c1b
DOC Ensures that Lars passes numpydoc validation (#20472)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Adrin Jalali <adrin.jalali@gmail.com>
2021-07-06 12:46:11 +02:00
genvalen 52cd5de774
DOC Ensures that LassoLarsIC passes numpydoc validation (#20465)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Adrin Jalali <adrin.jalali@gmail.com>
2021-07-06 12:45:26 +02:00
genvalen cb5e1f154c
DOC Ensures that LassoLars passes numpydoc validation (#20459)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Adrin Jalali <adrin.jalali@gmail.com>
2021-07-06 12:42:08 +02:00
Thomas J. Fan 3ae7c76153
STY Enables black with experimental_string_processing=true (#20412) 2021-06-29 09:47:04 +02:00
Maria Telenczuk 8a63ec40e4
MRG: Deprecate normalize in least_angle models (#17769)
Co-authored-by: Alexandre Gramfort <alexandre.gramfort@m4x.org>
2021-06-18 13:54:46 +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
Guillaume Lemaitre 1cd282d600
DOC add n_features_in_ in the documentation (#20236) 2021-06-09 16:58:03 +02:00
Takeshi Oura c8753d4174
ENH Preserving dtype for numpy.float32 in Least Angle Regression (#20155) 2021-05-31 16:33: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
Guillaume Lemaitre 266a11b2e1
DOC Update docs guideline regarding docstring formatting (#18243)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2021-01-08 12:55:53 -05:00
tnwei 73f1b6af82
FIX removed redundant max_iter assignment in LassoLarsIC (#18597) 2020-10-12 15:09:23 +02:00
Albert Villanova del Moral 7e545e1724
DOC Fix versionadded for 0.23 (#18522) 2020-10-05 10:23:32 +11:00
Thomas J. Fan 06d6f8a9f6
FIX Passes global configuration when spawning joblib jobs (#17634)
* WIP

* BUG Passes context to joblib jobs

* BUG Fix

* BUG Fix

* CLN Moves delayed into fixes

* CLN Adds linter

* REV Revert diff

* DOC Adds comment for removal

* Use a simple implementation
2020-09-21 16:59:42 +02: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
Maren Westermann 4c314923de
DOC alphas_ documentation of LassoLarsIC (#18224) 2020-08-31 10:12:07 +02:00
sadak d306abad8f
DOC fixed linear_model._least_angle.py parameters consistency (#18062)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2020-08-21 15:14:05 +02:00
Maren Westermann ae0d535516
DOC add attribute active_ to LarsCV (#17886) 2020-07-22 00:39:12 +10:00
Thomas J. Fan 9fc7bceca6
BUG Do not overwrite X when copy_X=True and Gram='auto' (#17914) 2020-07-15 22:44:58 +02:00
Shail Shah a293a6ce7c
DOC added attributes in LassoLarsCV (#17838) 2020-07-10 12:33:06 +02:00
Thomas J. Fan 7cc0177f8e
MNT Replaces numpy alias with builtin typse (#17687)
* MNT Replaces numpy alias with builtin typse

* STY Lint error
2020-06-24 16:51:51 +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
genvalen e57fab1265
DOC Update default doc string values for linear_model (#17506) 2020-06-06 17:15:14 -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