Commit Graph

504 Commits

Author SHA1 Message Date
Andrea Maldonado 5271695cec DOC Adds example for preprocessing.FunctionTransformer (#15192) 2019-10-15 16:21:48 -04:00
deeplook 6d53d067d0 TST Remove test functions defined twice (#15220) 2019-10-12 17:44:11 +02:00
Nicolas Hug 20952722b6 MAINT correct no_validation tag for FunctionTransformer (#14895) 2019-09-09 20:17:00 -04:00
Thomas J Fan 14f5302b70 DOC Link items explictly (#14817)
* DOC Link items explictly

* STY

* DOC Link another
2019-09-05 11:37:05 +02:00
Andreas Mueller 03ea20db0f Fix mixin inheritance order, allow overwriting tags (#14884) 2019-09-05 10:13:30 +02:00
Kevin Winata 1018f9f98c MNT Remove preprocessing.base and its test cases (#14866) 2019-09-02 16:21:25 +08:00
Samesh Lakhotia 1c116807ce MAINT:Fix assert raises in `sklearn/preprocessing/tests/` (#14717) 2019-08-29 12:38:54 +03:00
Andrea Navarrete dd9258ebd1 DOC Add counter-example to MultiLabelBinarizer (#14753) 2019-08-24 20:31:05 -04:00
Adrin Jalali f749bed458 [MRG] DOC clarify LabelEncoder's docstring (#14642) 2019-08-15 07:48:04 +10:00
Andreas Mueller 92af3dabbb MAINT simplify check_is_fitted to use any fitted attributes (#14545) 2019-08-13 22:09:07 +02:00
Thomas J Fan 21959b335c [MRG] MAINT Refactor removes assert from implmentation (#14609) 2019-08-13 07:57:10 +10:00
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