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
Lucy Liu
f108e2a361
DOC Fix cross references in `LabelBinarizer` ( #26678 )
2023-06-23 11:11:35 +02:00
Lucy Liu
b948fdba24
DOC Improve target encoder User Guide ( #26643 )
2023-06-23 10:28:54 +02: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
Lucy Liu
ef6612f3b3
DOC Fix typos/nitpicks in `TargetEncoder` docstring ( #26645 )
2023-06-21 15:04:36 +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
Guillaume Lemaitre
d85e22224c
MAINT make sure that hstack outputs a CSR matrix ( #26555 )
2023-06-09 17:35:24 +02:00
Christian Lorentzen
e5c65906ee
ENH add sparse output to SplineTransformer ( #24145 )
...
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2023-06-05 15:04:34 +02:00
Jérémie du Boisberranger
199cdfd768
ENH Change default value of subsample + allow for all strategies in KBinsDiscretizer ( #26424 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2023-05-31 18:06:11 -04:00
Dimitri Papadopoulos Orfanos
2fd022d972
MAINT Fix typos found by codespell ( #26448 )
2023-05-31 10:19:21 +02:00
Julien Jerphanion
41b0bd82ff
MAINT Use `scipy.sparse.isspmatrix_*` ( #26420 )
2023-05-30 13:46:32 -04:00
Meekail Zain
c6628a0e7a
ENH Allow for appropriate dtype us in `preprocessing.PolynomialFeatures` for sparse matrices ( #23731 )
...
Co-authored-by: Aleksandr Kokhaniukov <alexander.kohanyukov@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2023-05-04 21:30:49 +02: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
Jérémie du Boisberranger
9cb1111028
MAINT Cython linting ( #25861 )
2023-04-19 14:32:53 +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
Adrin Jalali
893d5accaf
MNT Update black to 23.3.0 ( #26110 )
2023-04-06 12:14:16 -04: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
d4d98017c3
MAINT Parameters validation for sklearn.preprocessing.label_binarize ( #26078 )
...
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2023-04-04 13:13:31 +02: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
Yao Xiao
3e0d957a13
DOC fix SplineTransformer include_bias docstring ( #26018 )
2023-03-30 14:50:17 +02:00
Thomas J. Fan
7df7062a7a
ENH Adds infrequent categories support to OrdinalEncoder ( #25677 )
...
Co-authored-by: Tim Head <betatim@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Andreas Mueller <t3kcit@gmail.com>
2023-03-29 10:08:25 +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
Thomas J. Fan
65dfab01cd
FIX Fixes pandas extension arrays in check_array ( #25813 )
2023-03-22 17:41:32 +01:00
Thomas J. Fan
1f373fe9ed
FIX Adds requires_y tag to TargetEncoder ( #25917 )
2023-03-20 16:15:30 +00:00
Thomas J. Fan
392fdee003
ENH Adds TargetEncoder ( #25334 )
...
Co-authored-by: Andreas Mueller <t3kcit@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Jovan Stojanovic <62058944+jovan-stojanovic@users.noreply.github.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2023-03-16 16:59:20 +01:00
Guillaume Lemaitre
ab3c0605de
DOC fix docstring dtype parameter in OrdinalEncoder ( #25877 )
2023-03-16 15:20:44 +01:00
Jérémie du Boisberranger
9d55835574
MAINT Ensure disjoint interval constraints ( #25797 )
2023-03-15 14:44:09 -04:00
Thomas J. Fan
1380e3c09b
FIX Fixes bug OneHotEncoder's drop_idx_ when there are infrequent categories ( #25589 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
2023-03-08 13:17:51 +01:00
Thomas J. Fan
ae4a1b1a78
FIX Allow OrdinalEncoder's encoded_missing_value set to the cardinality ( #25704 )
2023-02-28 11:15:08 +01:00
Thomas J. Fan
6671d604aa
ENH Allows target to be pandas nullable dtypes ( #25638 )
2023-02-24 00:09:47 +01:00
Adam Li
dfe9e2e118
MAINT Remove Cython compilation warnings ahead of Cython3.0 release ( #25621 )
2023-02-19 18:14:56 +01:00
Omar Salman
616db5c032
TST Common test for checking estimator deserialization from a read only buffer ( #25624 )
2023-02-17 09:34:39 -05:00
Omar Salman
cabe027497
MAINT remove -Wcpp warnings when compiling sklearn.preprocessing._csr_polynomial_expansion ( #25041 )
2023-01-27 12:01:01 +00:00
Rahil Parikh
b580d34c79
DOC update description of X in `FunctionTransformer.transform()` ( #24844 )
2023-01-27 11:00:49 +01:00
Alex Buzenet
d85b1d3302
ENH Raise NotFittedError in get_feature_names_out for MissingIndicator, KBinsDiscretizer, SplineTransformer, DictVectorizer ( #25402 )
...
Co-authored-by: Alex <alex.buzenet.fr@gmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2023-01-23 10:59:14 -05:00
Thomas J. Fan
55eaa4ba5c
FIX SplineTransformer.get_feature_names_out returns correct names for extrapolations=periodic ( #25296 )
...
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2023-01-18 18:25:33 +00: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
Mario Kostelac
3bc36e000d
ENH Add feature_name_combiner to OneHotEncoder ( #22506 )
...
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Christian Lorentzen <lorentzen.ch@gmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Chiara Marmo <cmarmo@users.noreply.github.com>
2023-01-12 11:20:26 +01:00
Gleb Levitski
cde6d65794
ENH KBinsDiscretizer sample_weight support for kmeans strategy ( #25257 )
2023-01-03 11:38:34 -08:00
Thomas J. Fan
8d74f16582
FIX Handles all numerical DataFrames with check_inverse=True in FunctionTransformer ( #25274 )
...
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2023-01-03 16:46:22 +01:00
Tim Head
ecb9a70e82
FIX Ensure dtype of categories is `object` for strings in `OneHotEncoder` ( #25174 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2022-12-22 12:32:07 -05:00