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
Stefanie Senger
0aa8932934
FEA Add metadata routing to OrthogonalMatchingPursuitCV ( #27500 )
...
Co-authored-by: Adrin Jalali <adrin.jalali@gmail.com>
2023-10-09 12:42:50 +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
Søren Fuglede Jørgensen
57dde82f7c
DOC fix description of tolerance in OMP ( #26823 )
2023-07-12 18:13:36 +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
81f62ab202
MAINT Parameters validation for sklearn.linear_model.orthogonal_mp_gram ( #26382 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2023-06-29 16:32:33 +02:00
Jérémie du Boisberranger
04575f5fa3
MAINT Param validation: apply skip nested validation to all functions ( #26495 )
2023-06-22 18:06:24 +02: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
Nishu Choudhary
263b42868a
MAINT Parameter validation for linear_model.orthogonal_mp ( #25817 )
2023-03-14 20:08:32 +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
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
Maria Telenczuk
0b0260ffaf
DOC Ensure sklearn.linear_model._omp.orthogonal_mp_gram passes numpydoc validation ( #24329 )
2022-09-02 16:22:50 +02:00
Thomas J. Fan
02ebf9e68f
MNT Adds dict typing hint to _parameter_constraints for mypy ( #24301 )
2022-08-30 11:01:10 +02:00
Jérémie du Boisberranger
b9f623cff0
MAINT Param validation: add helper constraint for cv object ( #24010 )
2022-07-26 13:27:03 -04:00
Rahil Parikh
5582017f11
MAINT Parameter Validation for OrthogonalMatchingPursuit and OrthogonalMatchingPursuitCV ( #23878 )
2022-07-20 18:11:48 +02:00
puhuk
b67b621bba
DOC fix link to "Matching pursuits with time-frequency dictionaries" article ( #23652 )
2022-06-16 19:31:12 +02:00
combscCode
e11c4d21a4
DOC Ensures that orthogonal_mp passes numpydoc validation ( #22501 )
2022-02-16 17:05:01 +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
Takeshi Oura
5dfa5d979a
ENH Preserving dtype for np.float32 in *DictionaryLearning, SparseCoder and orthogonal_mp_gram ( #22002 )
2021-12-30 12:16:41 +01:00
Olivier Grisel
2571cb2989
Improve validation messages with infinite data ( #21219 )
...
* Improve validation messages with infinite data
* Extend and fix validation tests
* Test and fix extended error message
* data_name => input_name
* Mention estimators that natively support missing values
* More informative error message
* cosmetic
* typo
* Fix broken tests
* Fix test_knn
* Add changelog entry
* Fix broken test for param search models
* Missing input names
* Allow Y and y in estimator checks
* Add missing input names
* Fix input_name for FunctionTransformer
* More missing input names
* Update test
* More test fixes on scores
* Simplify message to avoid to make generic fallback meaningful
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
* More informative estimator checks failure messages
* Make sure the estimator name is passed correctly in _validate_data
* Simplify calls to _validate_data
* Handle estimator name in private _check_y helper
* More specific error message
* Add estimator to check_X_params and check_y_params
* Add .. versionadded flags in public docstrings
* Update changelog
* Improve _validate_data's docstring
* Typo in doc/whats_new/v1.1.rst
* Make _check_estimator_name return None if estimator == None
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
* check_params dict updates with style
* Increase test coverage
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2021-10-29 15:59:57 +02:00
spikebh
ee5fddc7e2
DOC Ensures that OrthogonalMatchingPursuitCV passes numpydoc validation ( #21412 )
2021-10-23 12:58:36 +02:00
Manimaran
3f49d5fd31
DOC Ensures that OrthogonalMatchingPursuit passes numpydoc validation ( #21296 )
2021-10-20 17:24:56 +02:00
Thomas J. Fan
786c4e5e39
DOC Adds feature_names_in_ to docstrings ( #20787 )
2021-08-26 13:44:45 +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
dc2b5875d0
DEP deprecates 'normalize' in _omp.py ( #17750 )
...
Co-authored-by: Alexandre Gramfort <alexandre.gramfort@m4x.org>
2021-06-17 23:24:40 +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
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
shivamgargsya
5ccfabf08d
TST Change assert from sklearn to pytest style in module linear_model/tests ( #19565 )
2021-03-12 15:46:50 +01:00
Maren Westermann
b5d63e3474
DOC for n_nonzero_coefs_ attribute in OrthogonalMatchingPursuit ( #18756 )
2020-11-05 14:11:04 +00: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
Frans Larsson
d5bfff32f6
DOC Fix doc of defaults in sklearn.linear_model._omp.py ( #18100 )
...
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2020-08-06 12:05:46 +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
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
Thomas J Fan
0a7adef005
MNT Make modules private in linear_model ( #15324 )
2019-10-23 15:34:26 +02:00