scikit-learn/sklearn/preprocessing/tests
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
..
__init__.py Imp splitting of test_preprocessing.py 2013-07-26 17:08:58 +02:00
test_data.py MAINT deprecate 1d input arrays for all estimators 2015-09-09 15:49:58 +02:00
test_function_transformer.py DOC/MAINT final touches to FunctionTransformer 2015-08-03 22:12:19 +02:00
test_imputation.py MAINT docstring --> comments to prevent nose from using doc in verbose mode 2015-03-21 11:16:49 +05:30
test_label.py MAINT Remove support for the deprecated sequence of sequences 2015-08-11 22:26:44 +05:30
test_weights.py MISC: deprecate balance_weights (it's internal) 2013-07-29 03:06:58 +02:00