Christian Lorentzen
bf0ece817d
ENH add sample_weight to sparse coordinade descent ( #22808 )
2022-03-25 11:09:28 +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
f1d3417b08
MNT Drops Python 3.7 in CI, wheel building, and docs ( #22617 )
...
* MNT Drops Python 3.7
* MNT Bump NumPy and SciPy
* FIX Fix build
* FIX Bump versions improved
* DOC Fixes numpy version [pypy]
* BLD [pypy] [icc-build]
* Update docs
* MAINT use scipy.optimize.LinearConstraint in test
* MAINT scipy 1.1.0 related code clean-up
* scipy>=1.3.2 in pyproject.toml's build deps
* [cd build]
* DOC Adds comment about pypy
* MAINT remove _astype_copy_false
* FIX Update check for python version in setup.py
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2022-02-28 18:23:02 +01:00
Arturo Amor
34d39c7da6
MNT Add validation for parameter alphas in LassoCV ( #22305 )
...
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2022-02-26 11:22:11 -05:00
Thomas J. Fan
1fc86b6aac
MNT Update black to stable version ( #22474 )
2022-02-15 11:36:26 +01:00
Thomas J. Fan
5f75acdd12
MNT Bump joblib version dependency to 1.0.0 ( #22365 )
2022-02-09 13:47:18 +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
Arturo Amor
d7fc1df9fb
MNT Add validation for parameters in `ElasticNet` ( #22240 )
...
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2022-01-22 11:21:44 -05:00
Christian Ritter
ddbf5b37d4
ENH Check for nonfinite coordinate descent ( #22148 )
...
Co-authored-by: Norbert Preining <norbert@preining.info>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Christian Lorentzen <lorentzen.ch@gmail.com>
2022-01-20 14:26:39 +01:00
mandjevant
2314732a84
DOC Fix precompute parameter docstring in Lasso ( #21475 )
2021-10-28 16:09:06 +02:00
spikebh
ef7a02845f
DOC Ensures that MultiTaskElasticNetCV passes numpydoc validation ( #21405 )
...
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-10-23 13:05:37 +02:00
Pinky
c3f41ae198
DOC Ensures that MultiTaskLassoCV passes numpydoc validation ( #21256 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-10-21 11:25:55 +02:00
spikebh
5187554a00
DOC Ensures that MultiTaskElasticNet passes numpydoc validation ( #21381 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-10-21 10:53:54 +02:00
Felix Glushchenkov
8762133495
DOC ensures MultiTaskLasso passes numpydoc validation ( #21363 )
2021-10-20 16:55:29 +02:00
Thomas J. Fan
d1285a9232
DOC Adds missing imports into examples and test them ( #21186 )
2021-09-29 13:51:33 +02:00
baam
b8986ebbf0
DOC Ensures that ElasticNetCV passes numpydoc validation ( #20844 )
2021-08-31 17:51:42 +02:00
Thomas J. Fan
786c4e5e39
DOC Adds feature_names_in_ to docstrings ( #20787 )
2021-08-26 13:44:45 +02:00
Shao Yang Hong
4f33e4de32
FIX raise error when enet_path and lasso_path receive unknown parameters ( #19391 )
...
* Resolves #10598
Updated the code, sorry for putting in lackluster pull requests. Will put in more attention to detail, something silly like putting in commands after the function ended was easy to prevent.
* Update coordinate_descent.py
* Update coordinate_descent.py
* Move params checking to top and fix test
* Flake8
* make sure to not pass normalize and fit_intercept as path params
* TST check the error message
* typo
* iter
* iter
Co-authored-by: Elliot Kang <kkang2097@gmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-08-05 09:20:10 +02:00
Jesse Lima
0380f79c1a
DOC Ensures that LassoCV passes numpydoc validation ( #20453 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-07-07 10:56:22 +02:00
genvalen
67b656e05b
DOC Ensures that ElasticNet passes numpydoc validation ( #20454 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Adrin Jalali <adrin.jalali@gmail.com>
2021-07-06 13:33:18 +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
3a57efe45e
MRG: Deprecate 'normalize' in coordinate_descent ( #17785 )
...
Co-authored-by: Alexandre Gramfort <alexandre.gramfort@m4x.org>
2021-06-27 16:59:01 +02:00
Jesse Lima
23df3e2d55
DOC Ensures Lasso passes numpydoc validation ( #20409 )
2021-06-27 08:14:16 +02:00
Christian Lorentzen
0b1070c901
ENH Sample weights for ElasticNetCV ( #16449 )
...
Co-authored-by: Alexandre Gramfort <alexandre.gramfort@m4x.org>
Co-authored-by: Christian Lorentzen <lorentzen.ch@googlemail.com>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2021-06-26 13:02:23 +02:00
Bharat Raghunathan
c1920a928c
DOC Mention multi-output y in _coordinate_descent.py ( #20021 )
...
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2021-06-18 14:22:08 +02: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
Christian Lorentzen
5ff8632201
MNT add path as a static abstract method to LinearModelCV ( #19970 )
2021-06-01 12:09:37 -07: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
Mathieu Blondel
0d7d46f3be
Fix typo in elastic net docstring. ( #19711 )
...
* Fix typo in elastic net docstring.
* Use norms more explicitly.
2021-03-18 18:42:47 +01:00
James Alan Preiss
0c39dd32ea
DOC enet_path docstring: fix sub/superscript swap ( #19493 )
2021-02-19 10:39:49 +01:00
Julien Jerphanion
5403e9fdae
DOC Explicitly remove support for `precompute='auto'` for Lasso ( #19412 )
2021-02-09 16:52:26 +01:00
Vlasovets
819c43cc7a
DOC correct behavior of precompute with sparse input ( #19348 )
2021-02-04 14:56:15 +01:00
mathurinm
9183486463
FIX correct Lasso.dual_gap_ to match the objective in its docstring ( #19172 )
2021-01-20 18:35:31 +01:00
Adam Midvidy
2d95acfe95
ENH/DOC Add additional validation for user-supplied gram matrixes ( #19004 )
2021-01-05 10:44:52 +01:00
Thomas J. Fan
6b4f82433d
FIX ElasticNet.fit does not modify sample_weight in place ( #19055 )
2020-12-22 23:31:29 +01:00
Benjamin Pedigo
f650d9420b
DOC Fix ref to MultiTaskElasticNetCV in MultiTaskElasticNet doc ( #18814 )
2020-11-11 17:55:29 -05: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
886fb97465
DOC sparse_coef_ documentation for MultiTaskElasticNet and MultiTaskLasso ( #17884 )
2020-07-16 13:57:13 -04:00
Maren Westermann
ce03e544a8
add dual_gap_ attribute ( #17882 )
2020-07-11 10:42:00 -04:00
Gim Seng
7d5a54b329
FIX Raise error when l1_ratio is out-of-range in ElasticNet ( #17846 )
...
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Nicolas Hug <contact@nicolas-hug.com>
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2020-07-08 15:12:11 +02:00
t-kusanagi2
3c6db87ce2
DOC Add missing attrributes in ElasticNet and etc ( #17740 )
...
Co-authored-by: BenjaminLiu <imbenliu@gmail.com>
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2020-07-06 15:44:33 +02:00
barankarakus
28b1e00665
Fixed typo in docstring of enet_path in _coordinate_descent.py ( #17807 )
2020-07-04 11:20:58 +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
Thomas J Fan
e770715c43
MNT Completes position arg deprecation ( #17272 )
...
* ENH Adds public functions with position args warning
* BUG Circlar import
* STY
* BUG Add keywords
* BUG Fixes warnings
* ENH Adds other public functions
* CLN Suggestion
* CLN Suggestion
* REV Revert pairwise
* ENH Positoinal args for compute_class_weight
2020-05-19 09:07:25 +02:00
mathurinm
2a5c22a6aa
Delegate choice of final model to sub class in LinearModelCV ( #17099 )
...
* init
* flake8 error by vscode autoformatting
* remove returns
* get_model > get_estimator
* cosmit Tom + autoformat on save error again
2020-05-06 19:29:31 +02:00
Alexandre Gramfort
04d2e3290f
Speedup MultiTaskLasso ( #17021 )
2020-05-02 10:11:07 +02:00