Adrin Jalali
51c8e0e19d
CLN replace authors with the standard line ( #29250 )
2024-06-17 17:57:02 +00:00
Adrin Jalali
55ca335e42
CLN use new license notice line ( #29246 )
2024-06-13 15:51:09 +02:00
Adrin Jalali
34db65a3ad
DOC use pydata-sphinx-theme for the website ( #29038 )
...
Co-authored-by: Yao Xiao <108576690+Charlie-XIAO@users.noreply.github.com>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Guillaume Lemaitre <guillaume@probabl.ai>
2024-05-20 19:36:54 +02:00
Jérémie du Boisberranger
c35a719fe8
MAINT Clean up deprecations for 1.5: in AdditiveChi2Sampler ( #28814 )
2024-04-26 17:51:47 +02:00
Jérémie du Boisberranger
8600fb4cec
MAINT Clean up deprecations for 1.5: in LinearSV* ( #28816 )
2024-04-12 09:49:27 +02:00
Rahil Parikh
10b824a69e
DOC add link to plot_scalable_poly_kernels.py example ( #27527 )
2023-10-09 15:38:52 +02:00
Lohit SundaramahaLingam
f1ab4cee5d
TST Extend tests for `scipy.sparse.*array` in `sklearn/tests/test_kernel_approximation.py` ( #27301 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Omar Salman <omar.salman@arbisoft.com>
2023-09-12 06:52:13 +00:00
Julien Jerphanion
dfd299b19e
MAINT Remove soon-to-be deprecated scipy.sparse functions ( #26751 )
2023-07-12 18:34:01 +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
Gleb Levitski
b32e5c7ab3
ENH Accept 'auto' option for 'dual' parameter in LinearSVC and LinearSVR ( #26093 )
2023-05-30 16:54:24 +02:00
Adrin Jalali
893d5accaf
MNT Update black to 23.3.0 ( #26110 )
2023-04-06 12:14:16 -04:00
Vincent M
e010e4f007
MAINT make `AdditiveChi2Sampler` stateless and check that stateless `Transformers` don't raise `NotFittedError` ( #25190 )
...
* MAINT make AdditiveChi2Sampler stateless
* apply feedbacks
* fix tests
* apply new suggestions
* typo
* iterate on tests
* typo in docstring
* fix docstring
* update changelog
* improve test coverage
* add test_common
* improve coverage by removing from test_common
* move stateless check into _yield_transformer_checks
* apply suggestions
* Apply suggestions from code review
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
* apply suggestions
* Update doc/whats_new/v1.3.rst
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
2023-01-18 18:14:18 +00:00
Rahil Parikh
37bd51d935
ENH Raise NotFittedError in get_feature_names_out for AdditiveChi2Sampler ( #25291 )
2023-01-06 14:21:32 +01:00
Gleb Levitski
61ae92a778
ENH Add gamma='scale' option to RBFSampler ( #24755 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2022-10-28 13:11:56 +02:00
Thomas J. Fan
1dc23d7a1a
ENH Makes OneToOneFeatureMixin and ClassNamePrefixFeaturesOutMixin public ( #24688 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2022-10-18 23:20:17 +02:00
Tim Head
92f555ea15
ENH Preserves dtype in `RBFSampler` ( #24317 )
...
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2022-09-09 14:38:44 +02:00
Guillaume Lemaitre
ddfee308c8
MAINT black compliant
2022-09-09 11:26:52 +02:00
Rahil Parikh
1eea19d2dc
ENH Add dtype preservation to SkewedChi2Sampler ( #24350 )
...
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2022-09-09 11:22:59 +02:00
mrastgoo
10069466c5
MAINT Parameters validation for Nystroem ( #24332 )
...
Co-authored-by: jeremie du boisberranger <jeremiedbb@yahoo.fr>
2022-09-02 18:48:31 +02:00
Stefanie Molin
d1e0631925
MAINT Parameter validation for `RBFSampler` ( #24220 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: jeremie du boisberranger <jeremiedbb@yahoo.fr>
2022-08-31 18:03:26 +02:00
Stefanie Molin
9bb45255d9
MAINT Parameter validation for `PolynomialCountSketch` ( #24217 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2022-08-31 16:36:45 +02:00
Amit Bera
138619ae0b
MAINT Parameters validation for AdditiveChi2Sampler ( #24149 )
...
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2022-08-30 16:44:21 +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
Vincent M
5b3e0b79b0
MAINT Parameters validation for `SkewedChi2Sampler` ( #24114 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2022-08-25 08:58:33 +02:00
Thomas J. Fan
67a3feed2f
ENH Adds get_feature_names_out for AdditiveChi2Sampler ( #22137 )
...
Co-authored-by: Olivier Grisel <olivier.grisel@gmail.com>
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2022-03-08 15:02:18 +01:00
Thomas J. Fan
d616e43947
ENH Adds feature_names_out for most of kernel_approximation ( #22694 )
2022-03-08 14:01:03 +01:00
Thomas J. Fan
ff85a34c95
DOC Fix docstring for AdditiveChi2Sampler ( #22138 )
2022-01-28 13:26:56 +01:00
kxytim
6600994d84
FIX incorrect `component_indices_` in Nystroem ( #20554 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-09-02 16:14:36 +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
baa90d4b08
API Adds feature_names_in_ to kernel_approximation ( #20841 )
...
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-08-26 18:01:38 +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
genvalen
6738563d79
DOC Ensures that SkewedChi2Sampler passes numpydoc validation ( #20748 )
2021-08-16 14:56:18 +02:00
genvalen
4ea5066d6b
DOC Ensures that PolynomialCountSketch passes numpydoc validation ( #20747 )
2021-08-16 14:55:16 +02:00
genvalen
c289f07892
DOC Ensures that RBFSampler passes numpydoc validation ( #20731 )
2021-08-16 10:28:32 +02:00
genvalen
21eb4686c5
DOC Ensures that Nystroem passes numpydoc validation ( #20730 )
2021-08-11 11:47:35 +02:00
Reshama Shaikh
5088a40225
DOC fix indent in docstring of AdditiveChi2sampler ( #20710 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-08-08 18:31:32 +02:00
Reshama Shaikh
137bfb381d
DOC Ensures that AdditiveChi2Sampler passes numpydoc validation ( #20536 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-07-20 17:25:47 +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
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
Thomas J. Fan
10a5a19d53
ENH Adds n_features_in_ checking in kernel_* ( #18740 )
...
* ENH Adds n_features_in_ checking in kernel_approximiation
* ENH Checks n_features_in in kernel_ridge
2020-11-20 13:45:39 -08:00
Laurenz Reitsam
fdb9233f72
ENH Adding n_jobs to kernel_approximation.Nystroem ( #18545 )
...
* Update kernel_approximation.py
component_indices_ is not needed
* adding n_jobs to nystroem
* adding description for n_jobs for nystroem
* undo changes of component_indices_
* n_jobs: adding more detailed description
2020-10-12 16:58:22 -04:00
Guillaume Lemaitre
21569e719c
TST Common test preserve dtype ( #18054 )
...
Co-authored-by: Sebastian Kießling <sebkies@gmail.com>
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2020-09-08 10:13:53 +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
Albert Villanova del Moral
875d32fe55
DOC Fix versionadded/versionchanged for 0.24 ( #18312 )
2020-09-01 10:51:01 +02:00
Daniel López
daebcac781
FEA Add PolynomialCountSketch to Kernel Approximation module ( #13003 )
...
* Add Tensor Sketch algorithm
* Add user guide entry
* Add example
* Add benchmark
Co-authored-by: Christian Lorentzen <lorentzen.ch@googlemail.com>
Co-authored-by: Tom Dupré la Tour <tom.dupre-la-tour@m4x.org>
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2020-08-18 08:44:20 +02:00
Katarina Slama
1349cd5365
DOC added missing attributes in SkewedChi2Sampler ( #15514 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2020-06-18 09:43:29 +02:00