Jeffrey04
f24d94aec4
remove test for self.scale_
2015-10-20 10:59:10 +08:00
Jeffrey04
9da9b581a4
add fix for inverse transform
2015-10-19 23:29:38 +08:00
Jeffrey04
23e39871a8
fixing MaxAbsScaler according to MinMaxScaler
2015-10-19 23:11:20 +08:00
Jeffrey04
3f86d68f71
code fix for issue #5433
2015-10-19 19:30:29 +08:00
Gilles Louppe
008adf11ad
Merge pull request #5375 from rvraghav93/set_precision
...
[MRG + 2] FIX precision to float64 across the codebase
2015-10-19 11:02:04 +02:00
Andreas Mueller
96f587a4f2
DOC cosmit I find it confusing to say that fit resets the estimator, at it always does that.
2015-10-16 11:48:25 -04:00
giorgiop
c7b1a6ebc3
BUG: reset internal state of scaler before fitting
2015-10-16 17:28:40 +02:00
Raghav R V
a87011262a
FIX precision to float64 across the codebase
2015-10-16 11:20:29 +02:00
Andreas Mueller
c66689c4f4
FIX Don't compare arrays to strings!!!!
2015-10-15 16:07:17 -04:00
Raghav R V
21fab6e8ec
FIX Move validation from helper to main function
2015-10-15 18:21:51 +02:00
Raghav R V
4f4c3598e6
FIX dtypes to conform to the stricter type cast rules of numpy 1.10
...
FIX set copy to (copy & whiten).
FIX/DOC Use float outputs for doctest
2015-10-15 18:21:51 +02:00
giorgiop
6a5a2f7960
partial_fit for scalers
2015-10-13 11:37:00 +02:00
Olivier Grisel
250507ffa6
FIX deprecation message for 1d data
2015-09-10 09:55:35 +02:00
Vighnesh Birodkar
2f099334f9
MAINT deprecate 1d input arrays for all estimators
...
Passing 1D arrays to check_array, without setting `ensure_2d` to false now
raises a deprecation warning before reshaping it. This will later throw an
error.
All Scaler classes also throw warnings when 1D arrays are passed.
All unit tests/doctests are modified to ensure that no 1D arrays are passed,
except in explicit 1D array tests where the warnings have been silenced.
Additional tests are also included which check for different 1D array cases.
2D array tests with one samples and one features are also added and where
they failed, `check_array` call has been modified to give a more useful error
message
2015-09-09 15:49:58 +02: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
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
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