Commit Graph

126 Commits

Author SHA1 Message Date
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
Hanmin Qin 43e3a02085
MNT Remove unused assert_true imports (#12560) 2018-11-11 11:08:37 +08:00
Yaroslav Halchenko 362cb3bcab TST autoreplace assert_true(...==...) with plain assert (#12547) 2018-11-11 09:05:34 +08:00
Nicolas Hug 042843a2dd FIX YeoJohnson transform lambda bounds (#12522) 2018-11-08 18:57:40 +11:00
Andrew Nystrom a5fa7d3e6f [MRG] Fast PolynomialFeatures on CSR matrices (#12197) 2018-10-19 10:55:14 +02:00
bauks a1d0e96791 FIX Increase mean precision for large float32 arrays (#12338) 2018-10-16 09:08:39 +02:00
Andreas Mueller 0f94f2962b
MNT simple deprecations and removals for 0.21 (#12238)
Part of #11992.
These were all the things that seemed pretty straight-forward. It's actually a bit bulky but should still be easy to review, hopefully.
2018-10-11 14:56:37 -04:00
Eric Chang bbb0d935f5 [MRG] FIX Update power_transform docstring and add FutureWarning (#12317) 2018-10-10 07:53:26 +02:00
Tom Dupré la Tour 3e5777a0bd [MRG] Fast PolynomialFeatures on dense arrays (#12251) 2018-10-03 19:06:07 +02:00
Andreas Mueller 3a0b009804 don't use nextafter to define eps (#11611) 2018-07-24 11:09:46 +02:00
ZJ Poh adddf00433 [MRG] np.ones -> np.full (#11628) 2018-07-23 09:49:01 +02:00
Nicolas Hug 2d232acdeb [MRG] Add Yeo-Johnson transform to PowerTransformer (#11520) 2018-07-20 22:32:12 +02:00
Guillaume Lemaitre f8adfa27ae [MRG] Ignore and pass-through NaNs in RobustScaler and robust_scale (#11308) 2018-07-05 16:34:31 +02:00
Guillaume Lemaitre 5718466bb5 [MRG] ENH: Ignore NaNs in StandardScaler and scale (#11206) 2018-06-21 15:48:38 +02:00
Joris Van den Bossche 007aa710bd FEA Refactor CategoricalEncoder into OneHotEncoder and OrdinalEncoder (#10523)
Deprecated some OneHotEncoder behaviour
2018-06-21 19:27:41 +10:00
Guillaume Lemaitre a4f8e3d2a2 FIX: enforce consistency between dense and sparse cases in StandardScaler (#11235) 2018-06-14 19:18:39 +10:00
Daniel a6028fc059 BUG: Ensure OneHotEncoder outputs sparse matrix with given dtype (#11042) 2018-06-06 10:59:27 +02:00
Guillaume Lemaitre c3548a8e29 [MRG] EHN handle NaN value in QuantileTransformer (#10437) 2018-04-21 19:06:10 +02:00
Gaurav Dhingra eed83790b0 ENH Change default gamma from 'auto' to 'scale' in SVC (#10331) 2018-03-10 10:39:21 +08:00
Loïc Estève 55da79f5fd [MRG] MAINT: remove old scipy LBFGS scipy related code (#10716) 2018-02-28 09:00:34 +11:00
ksemb 77418a0275 MAINT Fix escape sequences that are deprecated in Python 3.6 (#10578)
https://docs.python.org/3/whatsnew/3.6.html#deprecated-python-behavior
2018-02-07 10:41:21 +11:00
Jiongyan Zhang 727314b2fe [MRG+1] Fix FutureWarning in CategoricalEncoder due to np.issubdtype (#10507) (#10510) 2018-01-23 07:39:21 +01:00
Joel Nothman b94876a3a2 [MRG+1] ENH Polynomial features for sparse data (#10452) 2018-01-11 02:55:19 -08:00