Commit Graph

223 Commits

Author SHA1 Message Date
Raghav 734bead8c4 MAINT Use check_is_fitted 2015-08-11 22:27:16 +05:30
Raghav R V 9d9675345b FIX bailout w/ValueError if multilabel-seq or other unsupported types 2015-08-11 22:27:14 +05:30
Raghav R V 664d78eb7c MAINT Remove support for the deprecated sequence of sequences
MAINT Remove sequence of sequence support from datasets
MAINT Remove return_indicator param
MAINT Remove multilabel-seq test in OVR
MAINT Remove multilable-seq test in check_cv
MAINT Remove multilabel seq test in label_binarizer
TST type_of_target returns "unknown" for multilabel-sequence types
TST _check_targets should raise a ValueError
DOC show multilabel indicator as an example; remove return_indicator param
DOC use consistent lower case y for target
2015-08-11 22:26:44 +05:30
Lars Buitinck b09afb08be DOC/MAINT final touches to FunctionTransformer
* copyedit doc
* give the module an underscore (we should do this to all private modules...)
* use public import path in test
* change all logs to log1p to prevent warning in test and because it's
  genuinely useful for frequency data
* what's new
2015-08-03 22:12:19 +02:00
Andreas Mueller a2a2d83be4 FIX be robust to obscure callables that are false. 2015-08-03 12:59:41 -04:00
Lars Buitinck bf8b91f910 DOC expand FunctionTransform docstring 2015-08-03 11:45:16 -04:00
Joe Jevnik ba44e7bcc3 COMPAT: Makes test_function_transformer py2 compatible. 2015-08-03 11:45:16 -04:00
Andreas Mueller 9d14f7352e ENH: Renames CallableTransformer -> FunctionTransformer.
Makes `pass_y` an argument to FunctionTransformer to indicate that the
labels should be passed to the wrapped function.
2015-08-03 11:45:16 -04:00
Joe Jevnik cb0916c440 ENH: Adds CallableTransformer
CallableTransformer allows a user to convert a standard python callable
into a transformer for use in a Pipeline.
2015-08-03 11:45:16 -04:00
Alexandre Gramfort 7fd2206f4f Merge pull request #4960 from mkrump/lb_encoder
[MRG + 1] Don't allow unseen values for inverse transform
2015-07-28 22:22:56 +02:00
Matt Krump 06f16e2634 Added test 2015-07-11 17:15:33 -05:00
Matt Krump 8d4c9c37a3 Don't allow negative values for inverse transform, and raise error similar to transform for new labels 2015-07-11 16:17:46 -05:00
Thomas Unterthiner e7e22d1e55 DOC Improve wording in minmax_scale documentation 2015-07-05 18:51:55 +02:00
Thomas Unterthiner 26fbfe6f2e ENH add minmax_scale 2015-07-01 23:27:35 +02:00
jnothman dc8578ae41 Merge pull request #4828 from untom/maxabs_scaler
[MRG] add MaxAbsScaler
2015-06-12 05:17:07 +10:00
Joel Nothman 87aaabc06a DOC backticks in attribute docstrings unnecessaru since #3489 2015-06-12 05:13:02 +10:00
Thomas Unterthiner ab734b7a39 ENH add MaxAbsScaler 2015-06-11 16:08:17 +02:00
Andreas Mueller 98ca513ad2 Merge pull request #4796 from joshloyal/standard-scaler-std-doc
[MRG+1] Updated _std docstring in StandardScaler to make internal handling of zero values explicit.
2015-06-10 13:39:11 -04:00
Andreas Mueller 0650d5502e DOC adding backlinks to docstrings 2015-06-03 00:24:04 -04:00
Joshua Loyal 75e895eb92 Updated _std docstring in StandardScaler to make internal handling of
zero values explicit.
2015-06-01 12:57:04 -04:00
Andreas Mueller 0b07536990 Merge pull request #4125 from untom/RobustScaler
[MRG + 2] ENH RobustScaler
2015-05-26 18:02:41 -04:00
Thomas Unterthiner 815270b343 Remove redundant code 2015-05-21 22:21:25 +02:00
Thomas Unterthiner cac627a696 More documentation fixes 2015-05-21 22:07:27 +02:00
Thomas Unterthiner c12ae6047b Fix documentation errors 2015-05-21 15:36:42 +02:00
TomDLT 6a3365d67d ENH use astype to avoid unnecessary copy 2015-05-21 12:51:08 +02:00
TomDLT 89c1018c64 ENH improve check_array
ENH improve check_array to warn on dtype conversions

ENH make check_array accept several dtypes

ENH change validation with improved check_array

ENH change astype to avoid copy if possible

ENH remove warn_if_not_float
2015-05-19 16:13:42 +02:00
Thomas Unterthiner 2de9f374a6 Fixed documentation oversight. 2015-05-16 21:52:14 +02:00
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 dd2fdbb18c Removed superfluous testcase for robust scaler 2015-05-16 01:50:56 +02:00
Thomas Unterthiner c296e4961e Fixed removal of copy-parameter 2015-05-16 01:50:42 +02:00
Thomas Unterthiner e5fb9dd5a4 Changed outdated test 2015-05-16 00:50:25 +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 4ff47d9efa Fix documentation in test case 2015-05-15 23:51:17 +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 007ae76cb3 TST: covering norm='max' branches of normalize() 2015-05-08 14:20:54 -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
Michael Heilman a94301cad2 added an additional test case in test_label.test_label_binarize_with_class_order() 2015-04-02 18:25:52 -05:00
Michael Heilman 03dbec87de fixed reverse sorting issue in label_binarize() 2015-04-02 18:21:21 -05:00
Andreas Mueller 574ebfda85 Merge pull request #4436 from ogrisel/rebased-pr-3747
[MRG+2] FIX make StandardScaler & scale more numerically stable
2015-03-23 11:12:32 -05:00
Olivier Grisel b596dfcfef FIX test for older versions of numpy 2015-03-23 16:41:18 +01: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
Raghav R V cd2ee7e454 MAINT docstring --> comments to prevent nose from using doc in verbose mode 2015-03-21 11:16:49 +05:30