Commit Graph

493 Commits

Author SHA1 Message Date
gdex1 86c5998dbb [MRG+1] Fix KernelCenterer and other pairwise estimators should error on non-square data (#14336) 2019-07-30 13:52:49 -04:00
xavier dupré ce869d8ddb ENH faster polynomial features for dense matrices (#13290)
Fixes #13173
2019-07-29 23:38:22 +10:00
Gordon Chen 01044877a6 DOC add attributes documentation to class KernelCenterer and MinMaxScaler (#14365) 2019-07-27 22:46:33 +08:00
Vincent Lostanlen 5936ae356c DOC lambda_ in PowerTransformer.inverse_transform doc (#14441) 2019-07-25 08:46:32 +10:00
krishna katyal c2d5cba19d DOC improve OneHotEncoder's docstring (#14396) 2019-07-22 10:41:48 -07:00
Christos Aridas 13b4bef462 DOC Fix OrdinalEncoder's description (#14412) 2019-07-19 23:15:25 +08:00
Nicolas Hug f3eb9d2206 [MRG] MNT removing assert_equal, etc -- continued (#14232) 2019-07-02 14:53:51 +10:00
Adrin Jalali 19c068a2ec MNT towards removing assert_equal, etc (#14222) 2019-07-01 09:13:32 -04:00
Thomas J Fan be4accf79d TST refactor test_numeric_stability (#14221) 2019-06-30 10:28:29 +08:00
Thomas J Fan 0bdd92036d [MRG] MAINT Adds tag categorical to OneHotEncoder (#14068) 2019-06-24 22:42:05 +10:00
Roman Yurchak 0eedf99eee MAINT Don't use clean_warnings_registry in tests (#14085) 2019-06-17 14:10:05 +02:00
Guillaume Lemaitre 76ce7c5b63 DEP change default validate in FunctionTransformer to False(#13817) 2019-06-13 12:06:01 -04:00
Roman Yurchak 2fc3a85b3f MAINT Use isinstance(x, numbers.Integral) to check for integer dtype (#14004) 2019-06-12 19:24:59 -04:00
Roman Yurchak ccd3331f7e MNT remove unused imports (#14021) 2019-06-04 23:15:19 +10:00
Oleksandr Pavlyk 162216af26 MAINT: test_encoder_dtypes_pandas reads expected dtype from DF (#13997) 2019-06-03 17:54:21 +10:00
Thomas J Fan 2e7e06b78f [MRG] Doctest with print change only adjusts default options for doctest (#13991) 2019-06-01 10:53:45 +02:00
Roman Yurchak 9661a64fae ENH Avoid uncessary copies in sklearn.preprocessing (#13987) 2019-06-01 00:07:00 -04:00
Guillaume Lemaitre 9ee164baa3 [MRG] DEP remove legacy mode from OneHotEncoder (#13855) 2019-05-29 21:03:29 +10:00
James Myatt e35f040200 [MRG] Fixes get_feature_names results when using drop functionality (#13894) 2019-05-23 14:39:39 +02:00
Nicolas Hug 911792b008 ENH Avoid calling _encode_check_unknown() twice in BaseEncoder.transform (#13810) 2019-05-22 09:43:40 +10:00
Paresh Mathur ea58e27ace DOC Documentation improvement in fbeta_score and OneHotEncoder (#13904) 2019-05-20 10:30:10 +08:00
Guillaume Lemaitre 6525a39dd6 MNT Remove Imputer in preprocessing (#13796) 2019-05-08 22:24:32 +08:00
Guillaume Lemaitre 28480f4cb2 DEP change the default of gamma in SVM (#13801) 2019-05-07 16:12:49 +02:00
Stephen Cowley 612a04e4e4 DOC Fix more formatting inconsistencies (#13787) 2019-05-05 22:05:58 +08:00
Andrew Nystrom 9d5dd3e967 DOC Updating PolynomialFeatures.Transform docstring (#13755) 2019-05-02 01:31:08 +10:00
Stephen Cowley e7ca6236c5 Fix spacing and formatting inconsistencies (#13747) 2019-05-02 01:29:49 +10:00
Prathmesh Savale 4b9e12e73b Deprecate "warn_on_dtype" from check_array (#13382) 2019-04-19 14:03:52 -04:00
Nicolas Hug 83dca7eb1b MNT Correctly handle deprecated attribute warnings and docstrings (#13635) 2019-04-18 10:21:40 -07:00
jeremiedbb cad0fb434f MNT Use a common language_level cython directive (#13630) 2019-04-13 07:30:18 +02:00
Nicolas Hug 7500693ea2 MNT remove fit_params from BaseSearchCV.__init__ (#13519)
* remove fit_params from BaseSearchCV.__init__

* fixed randomness of test_imputation_pipeline_grid_search?

* removed KFolds
2019-03-27 22:41:15 +01:00
Mohammad Aftab c3731f524c MNT Updated error message to remove deprecated n_values (#13454) 2019-03-22 08:34:53 +11:00
Hunter McGushion b646a815b4 API Update `quantile_transform` `copy` default to True (#13459) 2019-03-20 19:48:20 +08:00
Albert Thomas e5e8c2dfee DOC Fix docstring of quantile_transform function (#13471) 2019-03-19 10:29:01 +08:00
Federico Caselli 457b0d0296 DOC Fix typo in FunctionTransformer (#13404) 2019-03-06 16:04:26 -08:00
Joris Van den Bossche afd432137f
CLN: remove duplicate validation of X in Encoders transform (#13347) 2019-03-02 09:45:49 +01: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
maikia b2344a4e3f ENH: process DataFrames in OneHot/OrdinalEncoder without converting to array #12147 (#13253) 2019-03-01 11:02:57 +01:00
Joris Van den Bossche 20f64eb111 MNT Follow force_all_finite for object dtype in check_array (#13254) 2019-03-01 07:02:37 +01:00
Roman Yurchak 49570484db MAINT Use cython language_level=3 directive (#12873) 2019-02-28 18:45:15 +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
drewmjohnston 350cd4aefa ENH: Add Drop Option to OneHotEncoder. (#12908) 2019-02-26 13:50:21 +01:00
Andreas Mueller ab2f539a32 API: Estimator tags (#8022) 2019-02-23 22:54:41 +01:00
Hanmin Qin b40868d52b FIX Remove bins whose width <= 1e-8 with a warning in KBinsDiscretizer (#13165)
* remove redundant bins

* tests

* what's new

* issue number

* numeric issue

* move what's new

* Joel's comment

* forget something

* flake8

* more doc update

* Joel's comment

* redundant bins

* new message

* comment
2019-02-20 15:39:32 +01:00
SandroCasagrande 9ac5793af1 FIX Ensure sorted bin_edges from kmeans strategy of KBinsDiscretizer (#13135) 2019-02-12 09:26:49 +08: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
Hanmin Qin 575064b8e1
MNT More clean up after we remove python < 3.5 (#13078) 2019-02-02 22:01:13 +08:00
Hanmin Qin 31cef3b8f2 DOC More details about the attributes in MinMaxScaler (#13029) 2019-01-30 11:08:41 +11:00