Commit Graph

119 Commits

Author SHA1 Message Date
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
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
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
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
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
Edoardo Abati 5cf61b21ec
ENH Add Array API compatibility to `Normalizer` (#27558) 2023-11-14 14:08:43 +01:00
Edoardo Abati 1dd395cb85
ENH Add Array API compatibility to `KernelCenterer` (#27556) 2023-10-23 17:37:28 +02:00
Dimitri Papadopoulos Orfanos 0f43434e0c
DOC fix typos found by codespell (#27457) 2023-09-26 15:31:28 +02:00
Xuefeng Xu 6f9c6629e5
DOC add reference DOI in PowerTransformer (#27247) 2023-08-31 17:56:51 +02:00
Stefanie Senger 8ccaf0da1d
DOC Add links to preprocessing examples in docstrings and userguide (#26877)
Co-authored-by: Arturo Amor <86408019+ArturoAmorQ@users.noreply.github.com>
Co-authored-by: Adrin Jalali <adrin.jalali@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2023-08-24 15:15:41 +02:00
Edoardo Abati 2efe3f3f6b
ENH Add Array API compatibility to MaxAbsScaler (#27110) 2023-08-23 16:09:28 +02:00
Tim Head 061f8777b4
ENH Add Array API compatibility to MinMaxScaler (#26243)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2023-08-18 14:39:08 +00:00
Julien Jerphanion dfd299b19e
MAINT Remove soon-to-be deprecated scipy.sparse functions (#26751) 2023-07-12 18:34:01 +02:00
Venkatachalam N 10997c94fd
DOC Fix StandardScaler documentation describing when `mean_` is set (#26753) 2023-07-03 16:16:59 -04: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
Thomas J. Fan 96878baa75
FIX Ensure that index is correct when global transform_output is pandas (#26454) 2023-06-14 15:33:01 +02:00
Jérémie du Boisberranger e5df5fec4d
Fix PowerTransformer leaves constant feature unchanged (#26566)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2023-06-14 11:36:43 +02:00
Yao Xiao 18cf8d01ea
FIX `PowerTransformer` raise when "box-cox" has nan column (#26400)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2023-06-13 17:30:11 +00:00
2357juan b2c388147c
MAINT Parameters validation for sklearn.preprocessing.quantile_transform (#26144)
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2023-04-19 16:35:46 +00:00
Nightwalkx 100c11d3e1
MAINT Parameters validation for sklearn.preprocessing.power_transform (#26142) 2023-04-14 10:13:45 +02:00
2357juan 24f68c2a9e
MAINT Parameters validation for sklearn.preprocessing.robust_scale (#26086) 2023-04-12 12:15:23 +02:00
Jiawei Zhang fb526710b6
MAINT Parameters validation for sklearn.preprocessing.normalize (#26069)
Co-authored-by: jeremiedbb <jeremiedbb@yahoo.fr>
2023-04-04 13:50:01 +00:00
Jiawei Zhang 8a1247d7e5
MAINT Parameters validation for sklearn.preprocessing.maxabs_scale (#26077)
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2023-04-04 11:10:03 +00:00
Jiawei Zhang 19ed2a05be
MAINT Parameters validation for sklearn.preprocessing.binarize (#26076) 2023-04-04 11:58:39 +02:00
Yuchen Zhou 1e942b2ec7
MAINT Parameters validation for sklearn.preprocessing.add_dummy_feature (#26058) 2023-04-03 12:42:39 +02:00
Yao Xiao e166628e7a
MAINT Parameters validation for sklearn.preprocessing.scale (#26036) 2023-04-03 11:57:54 +02:00
Xiao Yuan f659ea4b0c
MAINT Parameters validation for preprocessing.minmax_scale (#25962)
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2023-03-27 18:12:27 +02:00
Guillaume Lemaitre 8b06f6a979
DOC update the documentation of fit of stateless transformers (#25191)
Co-authored-by: Tim Head <betatim@gmail.com>
2023-01-12 15:16:10 +01:00
Guillaume Lemaitre 303d712a9c
DOC fix a missing final fullstop in docstring (#24739) 2022-10-24 11:16:02 +02:00
Guillaume Lemaitre 0a4811677e
DOC fix sphinx directive in function (#24733) 2022-10-23 20:25:53 +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
Omar Salman 8e27c41c3d
DOC Ensures that `maxabs_scale` passes numpydoc validation (#24359)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2022-09-05 14:33:16 +02:00
Omar Salman a982866114
DOC Ensures that `scale` passes numpydoc validation (#24362) 2022-09-05 14:30:03 +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
Stefanie Molin afc84390a2
DOC Update sklearn.preprocessing._data.robust_scale docstring to pass numpydoc validation. (#23908) 2022-07-16 11:51:26 +02:00
DanielGaerber a63a827e6d
MAINT Use _validate_params in Power and Quantile Transformer (#23672)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2022-06-28 14:59:34 +02:00
Sangam 76ea15f7de
MAINT validate parameter in RobustScaler (#23588)
Co-authored-by: Sangam Swadi K <sangamswadik@users.noreply.github.com>
Co-authored-by: jeremie du boisberranger <jeremiedbb@yahoo.fr>
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2022-06-27 09:50:20 +02:00
Sangam 9a29fb4cb5
MAINT validate parameter for Binarizer (#23580)
Co-authored-by: Sangam Swadi K <sangamswadik@users.noreply.github.com>
Co-authored-by: jeremie du boisberranger <jeremiedbb@yahoo.fr>
2022-06-24 15:23:56 +02:00
sec65 40e055b362
MAINT parameter validation for Normalizer (#23543)
Co-authored-by: jeremie du boisberranger <jeremiedbb@yahoo.fr>
2022-06-24 14:16:30 +02:00
Rahil Parikh 6333ad2865
MAINT Parameter validation for MaxAbsScaler, MinMaxScaler and StandardScaler (#23540)
Co-authored-by: jeremiedbb <jeremiedbb@yahoo.fr>
2022-06-24 12:33:54 +02:00
Loïc Estève 56018b23e6
MNT use warnings rather than np.warnings (#23654) 2022-06-16 20:22:06 +02:00
Arturo Amor e85bbc9bb6
DOC Ensure that normalize passes numpydoc validation (#23188) 2022-04-22 10:53:15 -04:00
Thomas J. Fan c3f81c1d48
FIX PowerTransformer Yeo-Johnson auto-tuning on significantly non-Gaussian data (#20653)
Co-authored-by: Olivier Grisel <olivier.grisel@gmail.com>
2022-03-24 17:42:02 +01:00
Anne Ducout 5cccdef437
DOC Ensures that preprocessing._data.power_transform passes numpydoc validation (#22802)
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2022-03-21 21:44:28 +01:00
Magali f6d37b85d5
Changing docstring for binzrize (#22801)
Co-authored-by: Magali Morin <magali.morin@student-cs.fr>
2022-03-12 19:22:25 +01:00