Commit Graph

108 Commits

Author SHA1 Message Date
Thomas Unterthiner 7dbe3a895f Fix robust_scaling test 2015-05-16 11:45:47 +02:00
Thomas Unterthiner d86a629ac7 Added robust scaling example 2015-05-16 11:15:32 +02:00
Thomas Unterthiner 4c6ad90d2a Remove interquartile_scale parameter 2015-05-16 11:13:31 +02:00
Thomas Unterthiner c296e4961e Fixed removal of copy-parameter 2015-05-16 01:50:42 +02:00
Thomas Unterthiner 9ffd954ea6 Fixed decprecation warning 2015-05-16 00:50:05 +02:00
Thomas Unterthiner 6aefa534e5 Improved documentation of robust scaler 2015-05-16 00:49:47 +02:00
Thomas Unterthiner 29e8377e19 Export robust_scale and RobustScaler 2015-05-16 00:08:37 +02:00
Thomas Unterthiner e5957928d3 Remove 'copy' parameter form RobustScaler functions 2015-05-15 23:48:34 +02:00
Thomas Unterthiner f7ca553d00 Remove warn_if_not_float 2015-05-15 23:47:10 +02:00
Thomas Unterthiner 50c0a8d531 Fix documentation errors. 2015-05-15 23:46:38 +02:00
CJ Carey 5fcad7cc67 Fixing sparse max for older scipy 2015-05-08 15:13:27 -04:00
CJ Carey 84ee88db79 DOC: updating Normalizer docstring for norm='max' 2015-05-08 14:22:55 -04:00
CJ Carey 9e710ed843 WIP: adding 'max' normalizer to normalize()
This still needs tests and doc updates.
2015-04-23 12:58:17 -04:00
Nicolas 04078be7da FIX make StandardScaler & scale more numerically stable
Detect common numerical stability problems in the standardization
routines and try simple mitigation strategies while alos issuing
a warning.
2015-03-23 14:32:33 +01:00
Eric Martin ed47b5b744 Directly compute polynomial features.
Polynomial features are computed by iterating over all combinations
of features. For each combination of features, the product of the
columns indexed by the combination is computed.

The fit method is now a no-op, and the transform method works with any
number of features (regardless of what fit was called with).
2015-03-18 13:07:15 +11:00
Andreas Mueller 555b859041 Fix #4351. Rendering of docs in MinMaxScaler. 2015-03-06 12:38:05 -05:00
Loïc Estève 67dcd99d82 TST fix tests with numpy 1.6.1
np.bincount raises an Exception with empty input arrays for numpy versions < 1.6.2
Add utils.fixes.bincount to tackle this issue and use it instead of np.bincount
2015-02-01 15:49:49 +01:00
Thomas Unterthiner bf8cfb6ff6 Check if parameters are fitted 2015-01-20 08:05:05 +01:00
Thomas Unterthiner 22f718dcce ENH Added RobustScaler 2015-01-19 21:13:31 +01:00
Raghav R V b3fbccca38 FIX various mismatch between docstring and signature params
DOC max_iterations -> max_iter. Make it consistent with kmeans

MAINT Replace the deprecated dx parameter with d in the docstrings

MAINT Deprecation warning for max_iterations parameter.
2015-01-16 11:54:57 -05:00
Raghav R V 78233b2d05 FIX scale - Raise ValueError when input contains non finite values. 2015-01-16 19:07:27 +05:30
Wu Jiang 87a823c7c7 Fix a typo in OneHotEncoder's docstring
were --> where.
2015-01-12 14:04:29 -05:00
Raghav R V abd31d2cad MAINT Make uniform the error raised for not fitted condition 2015-01-12 00:33:40 +05:30
MechCoder 72db6aeb62 DOC: Make the comment slightly clearer 2014-10-25 10:53:33 +02:00
MechCoder d71c52929a Handle_unknown option to OneHotEncoder
OneHotEncoder fails with a error that is not helpful if a missing
categorical feature is present during transformation.
Add handle_unknown with an "error" and an "ignore" option.
2014-10-24 13:23:53 +02:00
Thomas Unterthiner 52adb5cae7 ENH Add 'axis' argument to sparsefuncs.mean_variance_axis 2014-09-03 13:47:48 +02:00
Joel Nothman b3bdb08964 DOC fix formatting of attributes etc. in docstrings 2014-07-28 19:04:59 +10:00
Joel Nothman be08122e04 DOC Fix example path 2014-07-21 18:42:23 +10:00
Andreas Mueller c235c3b566 ENH add allowed_sparse named argument for @ogrisel 2014-07-20 15:31:28 +02:00
Andreas Mueller 6e2a83b4e1 remove check_arrays stuff and old input validation 2014-07-20 13:31:45 +02:00
Tomas Kazmar b65e4c8d9d FIX MinMaxScaler behavior on 1D inputs. 2014-07-13 18:35:21 +02:00
Lars Buitinck 9e56b2b469 DOC more explicit docstring for preprocessing.normalize 2014-07-08 17:31:39 +02:00
Andreas Mueller 67b8601314 Minor fixes in the docs 2014-06-07 16:38:53 +02:00
Lars Buitinck de42d692d8 ENH interaction_only in PolynomialFeatures 2014-06-05 17:46:07 +02:00
Lars Buitinck f4251347af ENH/DOC fix poly features complexity
Fixes #3191, #3194.
2014-06-05 17:45:32 +02:00
Thomas Unterthiner 325e998fcc Extend utils.sparsefuncs: inplace scale and axis min/max 2014-05-18 20:03:37 +10:00
Manoj-Kumar-S bbb8f1d1bf Moved sparsefuncs to sparsefuncs_fast 2014-03-27 13:20:45 +05:30
Lars Buitinck 0abe21eaac MAINT remove some deprecated stuff 2014-03-12 13:33:42 +01:00
kaushik94 276e260486 ENH add sparse parameter to OneHotEncoder 2014-03-01 17:21:24 +01:00
Lars Buitinck 0a488ff642 FIX OneHotEncoder: check value max when n_values is integral
Fixes #2839.
2014-02-27 22:10:55 +01:00
Lars Buitinck aa53f80f61 DOC what we call poly features are called interaction features in stats 2014-02-27 21:36:30 +01:00
Alexander Fabisch 6610b3da5d Fix documentation 2014-02-04 23:12:10 +01:00
Alexander Fabisch 17d77ee04f Fix typo 2014-02-04 21:44:33 +01:00
Alexander Fabisch 0852a54f7f Add example with polynomial regression 2014-02-02 18:50:48 +01:00
Lars Buitinck c94ea6a570 ENH use fast row_norms helper in preprocessing.normalize
Also makes memory usage independent of n_features.
2013-12-05 15:11:59 +01:00
Jake Vanderplas f372e126c0 fix ordering & docs of PolynomialFeatures 2013-11-15 08:10:15 -08:00
Jake Vanderplas 4c00042f33 reorder polynomial features 2013-11-14 16:59:21 -08:00
Jake Vanderplas ecdedd5a4f DOC: adjust notes in PolynomialFeatures 2013-11-13 13:40:04 -08:00
Jake Vanderplas 2983ab900b TST: fix doctests & pep8 2013-11-13 04:44:19 -08:00
Jake Vanderplas 217834b9cb TST: fix PolynomialFeatures test error 2013-11-13 04:26:14 -08:00
Jake Vanderplas d071ef17e8 address PR2585 comments 2013-11-12 11:47:44 -08:00
Jake Vanderplas 568c43d6f3 ENH: add PolynomialFeatures preprocessor 2013-11-11 17:18:16 -08:00
Andreas Mueller 0c82974f7c FIX/ENH make StandardScaler convert int input to float and warn about it, instead of warning and rounding for dense and crashing for sparse. 2013-07-27 15:19:32 +02:00
Andreas Mueller d8f90d137d use column_or_1d, move it to utils 2013-07-26 17:16:27 +02:00
Nicolas Trésegnie f713996882 pyflakes and pep8 2013-07-26 17:08:59 +02:00
Nicolas Trésegnie 9cb320dd6d Imp move OneHotEncoder to preprocessing/data.py 2013-07-26 17:08:59 +02:00
Nicolas Trésegnie 15984d9a55 Del unused imports in preprocessing + pep8 2013-07-26 17:08:58 +02:00
Nicolas Trésegnie ec6057a384 Imp splitting of preprocessing.py 2013-07-26 17:08:58 +02:00