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
Loïc Estève
abbaed326c
MAINT Drop official PyPy support ( #29128 )
2024-06-03 14:30:35 +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
Omar Salman
acd2d90e50
ENH Array API support for LabelEncoder ( #27381 )
...
Co-authored-by: Omar Salman <omar.salman@arbisoft>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2024-05-16 15:47:35 +02:00
Olivier Grisel
bca36349a1
FIX 1d sparse array validation ( #28988 )
...
Co-authored-by: Jérémie du Boisberranger <jeremie@probabl.ai>
Co-authored-by: Christian Lorentzen <lorentzen.ch@gmail.com>
2024-05-13 11:28:17 +00: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
Xiao Yuan
153e7969b0
DOC add "polars" to options of transform in `set_output` ( #28875 )
2024-04-23 10:56:32 +00:00
Xuefeng Xu
395761a763
DOC fix description of sample_weight in KBinsDiscretizer ( #28853 )
2024-04-17 10:10:25 +00:00
Loïc Estève
af236f6df4
BLD Fix more build dependencies in meson build ( #28821 )
2024-04-15 10:34:40 +02:00
Jérémie du Boisberranger
57a72222da
MAINT Clean up deprecations for 1.5: in KBinsDiscretizer ( #28817 )
2024-04-11 17:59:05 +00: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
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
Xuefeng Xu
c63b21ec30
ENH Improve the efficiency of QuantileTransformer ( #27344 )
...
Co-authored-by: Jérémie du Boisberranger <jeremie@probabl.ai>
2024-03-28 07:28:37 +01: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
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
Ralph Urlus
f4c058ac09
ENH Add option to disable subsampling to QuantileTransformer ( #27636 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: jeremiedbb <jeremiedbb@yahoo.fr>
2024-03-08 11:30:52 +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
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
e94eae47b5
MAINT cleanup utils.__init__: move nan utils into dedicated submodule ( #28495 )
2024-02-22 19:32:34 -05:00
John Hopfensperger
ce8cb6ed2f
FIX Target encoder const y ( #28233 )
...
Co-authored-by: s-banach <john@hopfensperger.family>
Co-authored-by: Adrin Jalali <adrin.jalali@gmail.com>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2024-02-02 10:43:25 -05:00
Guillaume Lemaitre
02fee0a23c
FIX FunctionTransformer overwrite column names if not consistent ( #28241 )
2024-02-01 18:09:50 +00:00
Loïc Estève
d61b65e644
CI Unpin pytest and regenerate lock-files ( #28318 )
2024-01-31 18:14:14 +01:00
Guillaume Lemaitre
d797b771f1
FIX warn when requested polars DataFrame but no column names are found ( #28263 )
...
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
2024-01-30 17:27:12 +00:00
Loïc Estève
56625c9a30
BLD Add Meson support ( #28040 )
...
Co-authored-by: Adrin Jalali <adrin.jalali@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
2024-01-23 15:05:56 +01:00
Yao Xiao
93e199d517
FIX improve error message in `check_array` when getting a `Series` and expecting a 2D container ( #28090 )
...
Co-authored-by: Stanislas Furrer <stanislas.furrer@epfl.ch>
2024-01-14 12:29:39 -05:00
Filip Karlo Došilović
a7b2dc36be
DOC Add examples to docstring to functions from the preprocessing package ( #28019 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2024-01-12 15:46:29 +00:00
Franck Charras
3b212bdbc3
Small cleaning of `_atol_for_dtype` and `get_namespace` usage for consistency ( #28057 )
...
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2024-01-09 10:52:25 +00:00
Franck Charras
77aeb825b6
FIX Apply dtype param in `check_array_api_compute_metric` unit test ( #27940 )
2023-12-18 16:43:08 +01:00
Konstantinos Pitas
8be339f230
DOC improve documentation of copy=False in preprocessing functions ( #27691 )
...
Co-authored-by: Tim Head <betatim@gmail.com>
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
2023-12-07 16:04:02 +01:00
scaja
f113327bf1
DOC linked SplineTransformer to time-related feature engineering example ( #26971 )
...
Co-authored-by: scaja <scajadata@gmail.com>
Co-authored-by: adrinjalali <adrin.jalali@gmail.com>
2023-12-04 15:44:21 +00:00
Guillaume Lemaitre
1471fa7c58
FIX ensure consistency or column and feature names in FunctionTransformer ( #27801 )
...
Co-authored-by: Christian Lorentzen <lorentzen.ch@gmail.com>
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
2023-12-02 00:13:14 +01:00
Xuefeng Xu
b8229daafe
ENH improve the efficiency of Encoders in checking nan ( #27760 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2023-11-29 08:21:30 -08:00
Guillaume Lemaitre
dc2a2256ea
MAINT remove sparse parameter in OneHotEncoder ( #27861 )
2023-11-27 23:25:48 +01:00
Guillaume Lemaitre
0816e0012c
FIX raise NotFittedError in OrdinalEncoder when required ( #27821 )
...
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2023-11-23 15:35:17 -05:00
Thomas J. Fan
831c49aca3
ENH Adds polars output support to `set_output` API ( #27315 )
2023-11-19 22:46:56 +01:00
Edoardo Abati
5cf61b21ec
ENH Add Array API compatibility to `Normalizer` ( #27558 )
2023-11-14 14:08:43 +01:00
Lucy Liu
926671b25b
FIX improve warning message in `_ensure_sparse_format` ( #27757 )
2023-11-14 11:12:56 +01:00
Xuefeng Xu
a55f1673d7
FIX raise an error if user defined categories contain duplicate values ( #27328 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Tim Head <betatim@gmail.com>
2023-11-01 15:29:49 +00:00
Xuefeng Xu
0efad0029b
FIX raise an error if nan is not the last element in user provided categories ( #27309 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2023-11-01 14:59:48 +01:00
Guillaume Lemaitre
88dbd3b5a5
DOC fix referencing in TargetEncoder docstring ( #27697 )
2023-11-01 15:01:24 +11:00
Edoardo Abati
1dd395cb85
ENH Add Array API compatibility to `KernelCenterer` ( #27556 )
2023-10-23 17:37:28 +02:00
Jérémie du Boisberranger
eb85684feb
MAINT Follow cython performance hints ( #27521 )
2023-10-11 11:43:47 +02:00
Mateusz Sokół
0e56ae34f8
MAINT: Remove `np.int_` and `np.uint` ( #27523 )
2023-10-06 12:20:14 +02:00
Mohit Joshi
32e397553c
TST Extend tests for `scipy.sparse.*array` in `sklearn/preprocessing/tests/test_common.py` ( #27164 )
2023-10-02 14:07:19 +05:00
Mohit Joshi
9f6592f714
TST Extend tests for `scipy.sparse.*array` in `test_polynomial.py` ( #27166 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2023-09-29 21:55:08 +00:00
Dimitri Papadopoulos Orfanos
0f43434e0c
DOC fix typos found by codespell ( #27457 )
2023-09-26 15:31:28 +02:00
Stefanie Senger
20dad5851e
DOC documentation and error message for mismatching output formats in transformers with a sparse output ( #26919 )
...
Co-authored-by: Adrin Jalali <adrin.jalali@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2023-09-21 16:54:23 +02:00
Thomas J. Fan
89ea028ebd
ENH Improve warnings if func returns a dataframe in FunctionTransformer ( #26944 )
...
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2023-09-19 19:10:38 +02:00