Commit Graph

40 Commits

Author SHA1 Message Date
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
Angela Ambroz abfb6fd11e
[MRG] Add jitter to LassoLars (#15179)
* Adding jitter to LassoLars fit

* CircleCI fail

* MR comments

* Jitter becomes default, added test based on issue description

* flake8 fixes

* Removing unexpected cython files

* Better coverage

* PR comments

* PR comments

* PR comments

* PR comments

* PR comments

* Linting

* Apply suggestions from code review

* addressed comments

* added whatnew entry

* test both estimators

* update whatsnew

* removed random_state for lassolarsIC

Co-authored-by: Nicolas Hug <contact@nicolas-hug.com>
2020-04-17 17:14:21 +02:00
Roman Yurchak 5a4340834d
Fix mypy errors (#16726) 2020-03-30 15:41:05 +02:00
Alex Henrie 438bb3a438
MNT Remove unused imports (#16665) 2020-03-11 10:01:51 +11: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 4953ec36a4 MNT remove more deprecations for 0.23 (#15860)
* removed warn_on_dtype

* removed parameters to check_is_fitted

* all_estimators parameters

* deprecated n_components attribute in AgglomerativeClustering

* change default of base.score for multioutput

* removed lots of useless decorators?

* changed default of copy in quantil_transform

* removed six.py

* nmf default value of init param

* raise error instead of warning in LinearDiscriminantAnalysis

* removed label param in hamming_loss

* updated method parameter of power_transform

* pep8

* changed default value of min_impurity_split

* removed assert_false and assert_true

* added and fixed versionchanged directives

* reset min_impurity_split default to None

* fixed LDA issue

* fixed some test

* more docstrings updates

* set min_impurity_decrease for test to pass

* upate docstring example

* fixed doctest

* removed multiouput.score since it's now consistent with the default

* deprecate least_angle parameter combination

* remove support for l1 or l2 loss in svm

* removed linear_assignment.py

* add test
2020-01-13 13:43:50 +01:00
Nicolas Hug 19ad136223 MNT Replace DeprecationWarning with FutureWarning (#15080)
* bruteforce renaming

* WIP

* WIP

* some more

* removed weird line

* update -Werror

* testiforest

* again

* Fixed some tests

* fixed some tests

* removed -Werror

* fixed test_docstring_param issue

* fixed some tests

* some more

* renamed to SklearnDeprecationWarning

* pep8

* updated docs

* pep8

* merge

* changed to FutureWarning

* fixes

* Update doc/developers/tips.rst

Co-Authored-By: Adrin Jalali <adrin.jalali@gmail.com>

* avoid duplicates

* fixed warning for deprecations

* Still make CI break if DeprecationWarning isn't caught

* updated one warning

* fixed test

* fixed some renamings

* updated new dep warnings

* fixed bad import

* ignore warnings

* update again

* ignore futurewarning when walking packages

* Fixed test

* pep8

* Added whatsnew
2019-10-29 15:39:26 +01:00
Thomas J Fan 0a7adef005 MNT Make modules private in linear_model (#15324) 2019-10-23 15:34:26 +02:00