Daniela Fernandes
14a4934eb5
TST removed pytest.warns(None) in test_data.py ( #22938 )
2022-03-24 22:05:10 +01: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
Thomas J. Fan
1fc86b6aac
MNT Update black to stable version ( #22474 )
2022-02-15 11:36:26 +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
Thomas J. Fan
9f85c9d449
TST Better info when checking for no warnings in tests ( #22362 )
2022-02-03 11:42:48 +01:00
Dimitri Papadopoulos Orfanos
f71c031314
DOC Typos found by codespell ( #21069 )
2021-09-17 19:04:54 +02:00
Thomas J. Fan
4abd9f2d9e
API Implements get_feature_names_out for transformers that support get_feature_names ( #18444 )
...
Co-authored-by: Andreas Mueller <andreas.mueller@columbia.edu>
Co-authored-by: Andreas Mueller <andreasmuellerml@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Olivier Grisel <olivier.grisel@gmail.com>
Co-authored-by: Christian Lorentzen <lorentzen.ch@gmail.com>
2021-09-07 10:56:57 +02:00
Maxwell
238451d55e
FIX StandardScaler.inverse_transform raise error when the input is a 1d array ( #19752 )
...
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-07-23 20:44:52 +02:00
Thomas J. Fan
3ae7c76153
STY Enables black with experimental_string_processing=true ( #20412 )
2021-06-29 09:47:04 +02:00
Thomas J. Fan
383b53fa91
FIX Uses code literals in deprecated to prevent linking ( #20410 )
...
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-06-28 15:49:19 +02:00
Thomas J. Fan
82df48934e
MNT Applies black formatting to most of the code base ( #18948 )
2021-06-17 14:21:09 -04:00
Guillaume Lemaitre
6a562d31e4
ENH improve KernelCenterer documentation and tests ( #19901 )
...
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Sylvain Marié <sylvain.marie@schneider-electric.com>
2021-04-27 17:45:20 +02:00
Jérémie du Boisberranger
684b7d1955
FIX detect near constant feature in StandardScaler and linear models ( #19788 )
...
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-04-14 13:34:22 +02:00
makoeppel
df3f1bda42
FIX Adds check_array to inverse_transform of StandardScaler ( #19356 )
...
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2021-03-23 09:14:41 -04:00
LSturtew
3e45aeef90
TST Remove assert warn from preprocessing tests ( #19691 )
2021-03-20 10:07:09 -04:00
Avi Gupta
ca9618c0e2
MNT move PolynomialFeatures from _data.py to _polynomial.py ( #19611 )
...
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2021-03-18 14:58:51 +01:00
Olivier Grisel
c748e465c7
FIX Don't scale near-constant features to large values ( #19527 )
2021-02-25 10:21:52 +01:00
Christian Lorentzen
27f1c737f2
FEA Add SplineTransformer ( #18368 )
2021-01-24 10:53:27 +01:00
Guillaume Lemaitre
2218ec4622
MNT change 0.25 to 1.0 and 0.26 to 1.1 in deprecation messages ( #19005 )
...
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2020-12-18 16:09:19 +00:00
Alexandre Gramfort
5263eea04d
ENH add support for sample_weights in StandardScaler when X is sparse ( #18682 )
2020-10-28 09:34:17 +01:00
Thomas J. Fan
d933c20bef
ENH Checks n_features_in_ in preprocessing module ( #18577 )
...
Co-authored-by: Olivier Grisel <olivier.grisel@gmail.com>
Co-authored-by: Joel Nothman <joel.nothman@gmail.com>
Co-authored-by: Christian Lorentzen <lorentzen.ch@gmail.com>
Co-authored-by: Nicolas Hug <contact@nicolas-hug.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2020-10-21 18:11:44 +02:00
Thomas J. Fan
02fa8f1adb
ENH Deprecates _pairwise attribute and adds pairwise to estimator tags ( #18143 )
2020-10-07 21:53:36 +11:00
Maria Telenczuk
64697c665f
MRG Sample weight for StandardScaler ( #18510 )
2020-10-07 10:10:30 +02:00
Yashika Sharma
3017ea8c30
ENH Added parameter clip to MinMaxScaler ( #17833 )
2020-07-10 22:50:30 +02:00
Thomas J. Fan
7cc0177f8e
MNT Replaces numpy alias with builtin typse ( #17687 )
...
* MNT Replaces numpy alias with builtin typse
* STY Lint error
2020-06-24 16:51:51 +02:00
Lucy Liu
863e58fcd5
ENH Add option to scale output to unit var in RobustScaler ( #17193 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2020-06-02 14:50:27 +02:00
Thomas J Fan
e54cd3c061
API Deprecate positional arguments in preprocessing ( #16996 )
...
* API Deprecate positional arguments in preprocessing
* CLN Address comments
* CLN Uses classes as a keyword only argument
* BUG Fix
2020-04-23 19:10:49 +02:00
Maura Pintor
b189bf6070
FIX: normalizer l_inf should take maximum of absolute values ( #16633 )
2020-03-10 15:24:26 +11:00
Guillaume Lemaitre
b8c402722b
BUG avoid nan variance with sparse input in StandardScaler ( #16466 )
2020-02-27 00:00:22 +11:00
Roman Feldbauer
9b39c4c4d2
TST Fix unreachable code in tests ( #16110 )
2020-02-16 14:41:26 +01:00
Tirth Patel
0c0b6dad69
MRG FIX: order of values of self.quantiles_ in QuantileTransformer ( #15751 )
2019-12-21 17:30:37 +01:00
Nicolas Hug
42e17b3487
MNT Removed deprecated attributes and parameters -- ctnd ( #15804 )
2019-12-13 15:05:51 -05:00
Nicolas Hug
4256542b10
MNT Removed deprecated attributes and parameters ( #15803 )
2019-12-09 22:17:06 +08:00
Nicolas Hug
b92455a6b2
MAINT Deprecate all of utils.testing except all_estimators ( #15367 )
2019-10-28 17:28:56 +01:00
Thomas J Fan
15d5ef04df
MNT Make modules private in preprocessing ( #15323 )
2019-10-22 11:37:05 +08:00
Samesh Lakhotia
1c116807ce
MAINT:Fix assert raises in `sklearn/preprocessing/tests/` ( #14717 )
2019-08-29 12:38:54 +03:00
Adrin Jalali
19c068a2ec
MNT towards removing assert_equal, etc ( #14222 )
2019-07-01 09:13:32 -04:00
Roman Yurchak
0eedf99eee
MAINT Don't use clean_warnings_registry in tests ( #14085 )
2019-06-17 14:10:05 +02:00
Guillaume Lemaitre
28480f4cb2
DEP change the default of gamma in SVM ( #13801 )
2019-05-07 16:12:49 +02:00
Hunter McGushion
b646a815b4
API Update `quantile_transform` `copy` default to True ( #13459 )
2019-03-20 19:48:20 +08:00
Albert Thomas
2ad8735c50
FIX set n_quantiles to min(n_samples, n_quantiles) in QuantileTransformer ( #13333 )
2019-03-01 11:23:56 +01:00
Roman Yurchak
cf9a740598
[MRG+1] Use astype(.., copy=False) when possible ( #11973 )
...
* Use astype(.., copy=False) when possible
* Use Use astype(.., copy=False) also in tests
* Fix CI
* Guillaume's comments
* Address review comments
* Add what's new
* Fix CI
* Lint
* Fix merge issues
* More merge conflict fixes
* Fix failing test
* Lint
* Use copy=True in cluster/hierarchical
* More fixes
2019-03-01 11:07:10 +01:00
Andreas Mueller
8d815af732
MRG don't warn on changing dtypes in scalers ( #13306 )
...
* don't warn on changing dtypes in scalers
* remove tests for dtype warnings
* len(False) > len(True)
pep8
2019-02-28 09:42:50 +01:00
Albert Thomas
0f09297cde
ENH: simplify transform for uniform output in QuantileTransformer ( #12827 )
2019-02-26 17:53:38 +01:00
Roman Yurchak
0e3bb17e62
MAINT Run pyupgrade following Python2 deprecation ( #12997 )
2019-02-08 20:13:34 +08:00
surgan12
62d2059804
MNT remove __future__ imports ( #12791 )
2019-02-02 22:05:06 +08:00
Raf Baluyot
1f5bcaeb39
FIX float16 overflow on accumulator operations in StandardScaler ( #13010 )
2019-01-26 18:15:18 +01:00
Adrin Jalali
2bd87f6ed8
Remove python < 3.5 from CI ( #12746 )
2018-12-14 10:53:12 +01:00
Bartosz Michałowski
fa98a72dcc
MNT Replaced all occurrences of assert_true and assert_false with assert ( #12588 )
2018-11-28 09:16:26 +08:00