Commit Graph

299 Commits

Author SHA1 Message Date
Manoj Kumar 8da5092e83 [MRG] Fail imputer early when number of features are not the same in fit and transform (#7374) 2016-09-11 23:22:13 +10:00
Andreas Mueller 6972d6c15c DOC minor doc fixes for sphinx. (#7357) 2016-09-08 10:07:40 +10:00
Joel Nothman 0a0bf2478e Revert "ENH: Add indicator features to imputer output (#6607)" (#7292)
This reverts commit 18396be8cb as it was
merged when incomplete.
2016-08-30 21:28:01 +10:00
Andreas Mueller 002ff1237a fix some warnings in test outputs. 2016-08-27 17:02:22 +02:00
Caio Oliveira 19d6d925ed [MRG+1] Fix for "_transform_selected" not copying when "selected='all'" (#7201)
* fixes issue scikit-learn/scikit-learn#7194

* Added test

* Making `selected='all'` explicit on test

* Updated whats_new.rst

* Fixed typo on `whats_new.rst`
2016-08-18 11:47:00 +02:00
Alexandre Gramfort 02806e9782 cosmit 2016-08-13 11:03:59 +02:00
Konstantin Podshumok f893565773 [MRG+2] ENH: (minor) add quantile_low/high parameters to robust scaler (#5929)
* add quantile_low/high parameters to robust scaler

add versionadded tags

* robust scaler: add parameter for quantile_range, check its validity

* robust scaler: simplify params validations

fix typo in docstrings of RobustScaler

* preprocessing.data fix some lines > 80 columns

* add whatsnew for robust scaler quantile_range param

add missing url link in whatsnew
2016-08-13 10:32:16 +02:00
Óscar Nájera 8034b2926e more examples references 2016-08-03 20:23:50 +02:00
Gael Varoquaux 1dbc069cab TST: Speed up: cv=2
This is a smoke test. Hence there is no point having cv=4
2016-06-22 15:39:53 +02:00
John Moeller 055bc4c004 pep8 2016-06-22 02:10:41 -06:00
John Moeller 13f68c93b8 Simplifying imports and test 2016-06-17 17:44:51 -06:00
John Moeller cc9dbac37f Adding test for PR #6900 2016-06-17 17:28:36 -06:00
John Moeller 2242b1b2ea Make KernelCenterer a _pairwise operation
Replicate solution to 9a520779c2 except that `_pairwise` should always be `True` for `KernelCenterer` because it's supposed to receive a Gram matrix. This should make `KernelCenterer` usable in `Pipeline`s.

Happy to add tests, just tell me what should be covered.
2016-06-16 22:49:36 -06:00
Kevin Wang a2498218ac DOC cross-reference preprocessing estimators and functions in their docstrings 2016-05-10 11:00:41 +02:00
Thierry Guillemot 78a674875e Correct the deprecation of the random_integers numpy function. (#6712) 2016-04-26 16:08:48 +02:00
Maniteja Nandana 18396be8cb ENH: Add indicator features to imputer output 2016-04-14 12:21:16 +05:30
ningchi 1d487fb550 [MRG+1] issue #6532 Add `inverse_transform` function (#6570)
* [MRG+1] #6532 Add inverse_func argument to FunctionTransformer


* modify test:inverse_func is not true inverse
2016-04-12 01:26:30 -04:00
Toshihiro Kamishima 45ff64bdec type echecking before comparison, to avoid warning of multiple comparison (#6615) 2016-04-11 17:52:42 +02:00
Alexandre Gramfort acdaeaf5dd Merge pull request #6606 from tkamishima/tkamishima_one_hot_encoder_parameter_checking
[MRG] type checking before comparison, to avoid warning messages, in preprocessing.OneHotEncoder
2016-03-31 22:33:55 +02:00
Manoj Kumar 24198ffbb8 Merge pull request #6419 from nelson-liu/fix_linkcheck
[MRG+1] DOC: Fix broken links
2016-03-30 18:17:48 -04:00
Toshihiro Kamishima d574a03497 type checking before comparison, to avoid warning messages
If np.array is pssed  as a parameter 'n_values', warning of multiple comparison is printed. This patch avoid this problem.
2016-03-31 01:09:15 +09:00
YenChenLin 08e1db4cd3 Test normalize function in data.py 2016-03-26 10:38:29 +08:00
Rémy Léone 9b7176dd9d [DOC] Fix broken links 2016-03-23 12:45:34 -07:00
dsquareindia e9492b7ec2 LabelBinarizer single label case now works for sparse and dense case 2016-03-21 10:43:56 +05:30
Jake Vanderplas 90f2c184c6 Merge pull request #6453 from yenchenlin1994/fix-its-typo
[MRG] DOC Fix misuse of "it's"
2016-02-25 21:04:56 -08:00
YenChenLin ca4c727e22 Fix misuse of it's 2016-02-26 10:16:28 +08:00
Jake Vanderplas 7895d38ca6 Merge pull request #6372 from amueller/poly_feature_names
[MRG+2] add get_feature_names to PolynomialFeatures
2016-02-25 11:55:03 -08:00
Andreas Mueller 8fb928d644 fixed doc for powers, added test 2016-02-24 17:08:15 -05:00
Andreas Mueller 897f8b6cc6 don't do ^1 2016-02-22 15:09:47 -05:00
Andreas Mueller ddc1740207 fix PolynomialFeatures.powers_ in python 0.16.1 2016-02-19 15:53:37 -05:00
Andreas Mueller 3fa684db0e add get_feature_names to PolynomialFeatures 2016-02-19 15:52:55 -05:00
giorgiop 140a5acda8 MAINT depr of center_data, normalize in linear_model 2016-02-17 14:26:50 -05:00
Loïc Estève 6c627633bc Fix test_label_binarizer on Windows
Looks like .fill is not very friendly with unicode numpy scalar
2016-02-11 13:24:16 +01:00
dsquareindia 74475bc929 LabelEncoder now raises error for 0-D arrays 2016-01-26 01:34:26 +05:30
Gael Varoquaux 317dea8a05 Merge pull request #6005 from seales/SpellingFix
[MRG+1] General spelling fixes
2016-01-04 13:42:20 +01:00
Brian McFee 318b93d2ae Implemented keyword arguments in FunctionTransformer 2015-12-19 23:00:35 -05:00
seales 0485ada58b General spelling fixes 2015-12-16 09:46:42 -08:00
Ganiev Ibraim 1606c9074e check_is_fitted validation for transform() and inverse_transform() 2015-11-30 01:53:38 +03:00
Andreas Mueller fb123ed24b More doc fixes. Latex builds again. 2015-11-20 16:30:45 -05:00
MechCoder 6e87813550 Scaling a sparse matrix along axis 0 should accept a csc by default 2015-11-11 14:21:49 -05:00
Andreas Mueller de3a527905 Merge pull request #5692 from amueller/skip_32_bit_tests
[MRG] Skip 32 bit tests that fail, skip doctests on 32bit
2015-11-05 10:33:33 -05:00
KamalakerDadi f2e35411fa Added more versions of 0.17 2015-11-04 00:02:52 +01:00
KamalakerDadi 2249daaea8 Version added for all new classes 2015-11-03 23:54:42 +01:00
KamalakerDadi 468b4c15b3 Version Added for Robust Scaler 2015-11-03 23:48:23 +01:00
Andreas Mueller c55dc89902 Merge pull request #5695 from amueller/doc_fixes
[MRG] DOC some fixes to the doc build.
2015-11-03 15:24:56 -05:00
Andreas Mueller e2eba1ffbc Merge pull request #5688 from amueller/robust_scaler_1column_fix
[MRG+2] fix 1 sparse row scaling in robust scaler
2015-11-03 14:06:26 -05:00
Andreas Mueller 61df16e0e9 fix 1 sparse row scaling in robust scaler 2015-11-03 14:03:09 -05:00
Gael Varoquaux f7e886a885 Merge pull request #5682 from trevorstephens/OneHotEncoder_warn_fix
[MRG + 1] OneHotEncoder warn fix - fixes #5671
2015-11-03 19:26:08 +01:00
Andreas Mueller 2653833a07 DOC some fixes to the doc build. 2015-11-03 12:23:23 -05:00
Andreas Mueller 776e53b127 skip unstable tests on 32bit platform 2015-11-02 15:21:22 -05:00