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
Anne Ducout
6d36596c4d
fix docstrings on preprocessing._data.normalize ( #22795 )
...
Co-authored-by: ducanne <71016393+ducannelync@users.noreply.github.com>
2022-03-12 17:38:24 +01:00
sakinaOuisrani
aec4eaa17b
DOC Fix docstring in quantile_transform function #21350 ( #22780 )
...
* fix: docstring in quantile_transform function
* fix: docstring quantile transformer
Co-authored-by: Sakina <s.ouisrani@sesamm.com>
2022-03-12 16:52:14 +01:00
Guillaume Lemaitre
229bd226ab
MNT remove _pairwise attribute ( #21594 )
2022-02-09 16:58:01 +01:00
Thomas J. Fan
d7feac0ccf
ENH Adds feature_names_out to preprocessing module ( #21079 )
...
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: 赵丰 (Zhao Feng) <616545598@qq.com>
Co-authored-by: Niket Jain <51831161+nikJ13@users.noreply.github.com>
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
2022-02-07 12:09:57 +01:00
Behrouz B
de3373b9dc
DOC correct typo in StandardScaler documentation ( #21860 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2022-01-28 14:39:32 +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
Juan Martin Loyola
6e2388f901
DOC Ensures that RobustScaler passes numpydoc validation ( #21155 )
2021-09-27 10:34:03 +02:00