Stefanie Senger
2bafd7b68f
MNT metadata routing: remove `MethodMapping.from_str()` and sort `caller`, `callee` in `MethodPair()` ( #28422 )
...
Co-authored-by: Adrin Jalali <adrin.jalali@gmail.com>
Co-authored-by: Guillaume Lemaitre <guillaume@probabl.ai>
2024-05-02 10:13:21 +02:00
Jérémie du Boisberranger
f61dd6cfc0
MAINT Clean-up utils.__init__: move tests into corresponding test files ( #28842 )
2024-04-30 17:27:24 +02:00
Will Dean
0bdc754e5d
API Standardize `X` as `inverse_transform` input parameter ( #28756 )
...
Co-authored-by: Jérémie du Boisberranger <jeremie@probabl.ai>
2024-04-29 15:08:25 +00:00
Jérémie du Boisberranger
4f9777ab89
Fix __array__ requires a copy param ( #28893 )
2024-04-25 15:31:50 +00:00
Franck Charras
171e124656
FEA: Ridge support for Array API compliant inputs ( #27800 )
...
Co-authored-by: Eric Lindgren <ericlin@chalmers.se>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Tim Head <betatim@gmail.com>
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
Co-authored-by: Oleksii Kachaiev <kachayev@gmail.com>
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2024-04-25 11:52:04 +02:00
Jérôme Dockès
2a2643f583
ENH improve the remainder index dtype to be consistent with transformers ( #27657 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: jeremiedbb <jeremiedbb@yahoo.fr>
2024-04-24 20:07:47 +02:00
Jérémie du Boisberranger
46af707595
MAINT Bump threadpoolctl min version for 1.5 ( #28838 )
2024-04-23 16:19:13 +00:00
Stefanie Senger
9985c0b915
DOC improve metadata routing example ( #27357 )
...
Co-authored-by: Adrin Jalali <adrin.jalali@gmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Guillaume Lemaitre <guillaume@probabl.ai>
2024-04-23 14:40:58 +02:00
Xiao Yuan
153e7969b0
DOC add "polars" to options of transform in `set_output` ( #28875 )
2024-04-23 10:56:32 +00:00
Randolf Scholz
1210b0685b
FIX parametrizing estimator checks allows custom estimators that implements `__call__` ( #28860 )
...
Co-authored-by: Adrin Jalali <adrin.jalali@gmail.com>
Co-authored-by: jeremiedbb <jeremiedbb@yahoo.fr>
2024-04-22 09:07:34 +00:00
Jérémie du Boisberranger
0f701ff839
MAINT Fix target versions in TODOs ( #28855 )
2024-04-19 12:37:45 +02:00
Jérémie du Boisberranger
131109b003
API Deprecate utils.parallel_backend and utils.register_parallel_backend ( #28847 )
2024-04-17 10:15:19 +02:00
Jérémie du Boisberranger
ec6749445c
MAINT Clean up deprecations for 1.5: delayed import path ( #28848 )
2024-04-16 17:32:39 +02:00
Kaushik Amar Das
21ee59df57
API Deprecate using labels in bytes format ( #18555 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: adrinjalali <adrin.jalali@gmail.com>
2024-04-16 12:34:02 +02:00
Loïc Estève
af236f6df4
BLD Fix more build dependencies in meson build ( #28821 )
2024-04-15 10:34:40 +02:00
Christian Lorentzen
3ee60a720a
ENH add verbosity to newton-cg solver ( #27526 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2024-04-12 14:29:54 +02:00
Olivier Grisel
311c6e2bef
ENH new svd_solver='covariance_eigh' for PCA ( #27491 )
...
Co-authored-by: Christian Lorentzen <lorentzen.ch@gmail.com>
Co-authored-by: Tim Head <betatim@gmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2024-04-11 16:02:00 +02:00
Adrin Jalali
c4c5463556
MNT upgrade black version ( #28802 )
2024-04-10 11:06:55 -04:00
Patrick Wang
3fa732bb72
FIX Do not warn when using polars DataFrames in DecisionBoundaryDisplay.from_estimator ( #28718 )
...
Co-authored-by: jeremie du boisberranger <jeremiedbb@yahoo.fr>
Co-authored-by: Guillaume Lemaitre <guillaume@probabl.ai>
2024-04-10 15:24:05 +02:00
Stefanie Senger
2f5361a4b5
MNT more informative error message for `UnsetMetadataPassedError` ( #28517 )
...
Co-authored-by: Adrin Jalali <adrin.jalali@gmail.com>
2024-04-08 19:39:43 +02:00
Jérémie du Boisberranger
cd1b1bef0e
MAINT cleanup utils.__init__: move IS_PYPY, _IS_WASM, _IS_32BIT into utils.fixes ( #28768 )
...
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2024-04-08 09:07:26 +00:00
Jérémie du Boisberranger
8edbdfc6a3
MAINT cleanup utils.__init__: deprecate tosequence ( #28763 )
2024-04-05 16:43:24 -04:00
Jérémie du Boisberranger
9926887f4c
MAINT cleanup utils.__init__: move _to_object_array into utils.validation ( #28661 )
...
Co-authored-by: Guillaume Lemaitre <guillaume@probabl.ai>
2024-03-28 08:03:57 +00:00
Jérémie du Boisberranger
b599f82316
MAINT cleanup utils.__init__: move _print_elapsed_time into dedicated submodule ( #28662 )
2024-03-28 07:52:11 +01:00
Adrin Jalali
ee849137d8
FIX allow set_{method}_request methods to be unbound ( #28651 )
2024-03-27 11:04:49 -04:00
Olivier Grisel
52138e271b
MAINT make ClassifierChain test more efficient ( #28705 )
2024-03-27 14:18:12 +00:00
Christian Lorentzen
59bba8fd42
MNT remove unnecessary cython.import_array ( #28656 )
...
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2024-03-20 18:31:06 +00:00
Olivier Grisel
69c11168dd
TST: missing test for unsigned integers types in _typedefs.pxd ( #28657 )
2024-03-19 14:18:50 +01:00
Ralf Gommers
5efc66740c
MAINT: convert `numpy.array_api` to array-api-strict ( #28555 )
...
Co-authored-by: adrinjalali <adrin.jalali@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Tim Head <betatim@gmail.com>
2024-03-18 17:27:09 +00:00
Tim Head
e5a7c3e39f
FIX Fix array API `train_test_split` ( #28407 )
...
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2024-03-18 15:43:09 +01:00
Guillaume Lemaitre
a83ae9c85d
TST remove sparse-np.float16 support in tests ( #28635 )
...
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
2024-03-18 11:37:57 +00:00
Jérémie du Boisberranger
792a514cb8
MAINT cleanup utils.__init__: move indexing tools into dedicated submodule ( #28546 )
...
Co-authored-by: Guillaume Lemaitre <guillaume@probabl.ai>
2024-03-13 18:12:42 +00:00
Franck Charras
612d93da5e
ENH Use Array API in `r2_score` ( #27904 )
...
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Eric Lindgren <ericlin@chalmers.se>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Tim Head <betatim@gmail.com>
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
Co-authored-by: Oleksii Kachaiev <kachayev@gmail.com>
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2024-03-11 16:00:46 +00:00
Loïc Estève
e4fc3705e7
CI fix scipy-dev by using asarray() instead of array(..., copy=False) ( #28583 )
2024-03-06 17:45:43 +01:00
Yao Xiao
de7a43fa3c
FIX safe indexing for polars `Series` ( #28521 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2024-03-06 15:45:48 +01:00
Jérémie du Boisberranger
7363a53014
MAINT Use appropriate boolean constraint alias for param validation in SGD ( #28573 )
2024-03-04 11:52:34 -05:00
Michael Higgins
1c93eb399e
DOC add docstring for inplace_csr_row_normalize_l1 and inplace_csr_row_normalize_l2 ( #28286 )
...
Co-authored-by: Guillaume Lemaitre <guillaume@probabl.ai>
2024-03-02 11:48:16 +00:00
Yao Xiao
f3310d2f5a
FIX make 'array-like' reject sparse containers in parameter validation ( #28101 )
...
Co-authored-by: jeremie du boisberranger <jeremiedbb@yahoo.fr>
2024-02-28 17:54:16 +01:00
Jérémie du Boisberranger
cac6d4ee91
MAINT cleanup utils.__init__: move masking tools into utils._mask ( #28515 )
...
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2024-02-27 15:58:05 +00:00
Jérémie du Boisberranger
d16f0495fe
MAINT cleanup utils.__init__: move chunking tools into dedicated submodule ( #28516 )
2024-02-26 17:18:47 -05:00
Stefanie Senger
e2f9530f0f
ENH Add metadata routing for `RANSACRegressor` ( #28261 )
2024-02-26 13:30:08 +00:00
Stefanie Senger
981488412b
TST separate checks for sparse array and sparse matrix input in `estimator_checks` ( #27576 )
...
Co-authored-by: Adrin Jalali <adrin.jalali@gmail.com>
2024-02-23 14:45:33 +01:00
Jérémie du Boisberranger
e94eae47b5
MAINT cleanup utils.__init__: move nan utils into dedicated submodule ( #28495 )
2024-02-22 19:32:34 -05:00
Jérémie du Boisberranger
1d293245ec
MAINT cleanup utils.__init__: move openblas check into fixes ( #28486 )
...
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
2024-02-22 10:00:24 +01:00
Jérémie du Boisberranger
f323eb48a8
MAINT cleanup utils.__init__: move safe_sqr and _approximate_mode into extmath ( #28481 )
...
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
2024-02-21 12:17:20 +01:00
Jérémie du Boisberranger
e125e67bce
MAINT cleanup utils.__init__: move check_matplotlib/pandas_support into dedicated submodule ( #28482 )
2024-02-21 11:19:02 +01:00
Christian Lorentzen
27178d0f66
MNT move sum_parallel to arrayfuncs ( #28451 )
2024-02-20 15:40:34 -05:00
Stefanie Senger
19f4149686
DOC correct order of @deprecated and @property in documentation and linter ( #28438 )
2024-02-20 16:02:34 +01:00
Adrin Jalali
6e5303520c
FIX default metadata requests when set via class attributes ( #28435 )
...
Co-authored-by: Guillaume Lemaitre <guillaume@probabl.ai>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2024-02-19 11:13:19 +00:00
Loïc Estève
50e8749108
CI Use Python 3.12 in scipy-dev ( #28383 )
2024-02-14 17:35:52 -05:00