scikit-learn/sklearn/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 Move project directory from scikits.learn to sklearn 2011-09-02 12:06:57 +02:00
test_base.py TST: Regression test for nan parameters cloning 2015-05-18 11:40:46 -05:00
test_calibration.py FIX : allow NaN in input of calibration if estimator handles it 2015-03-18 16:44:21 +01:00
test_check_build.py DOC: Replaced all BSD style licenses with "BSD 3 clause" 2013-04-30 08:34:46 +02:00
test_common.py MAINT deprecate 1d input arrays for all estimators 2015-09-09 15:49:58 +02:00
test_cross_validation.py ENH: rename to LabelKFold 2015-09-07 09:56:19 +02:00
test_dummy.py MAINT deprecate 1d input arrays for all estimators 2015-09-09 15:49:58 +02:00
test_grid_search.py MAINT Remove support for the deprecated sequence of sequences 2015-08-11 22:26:44 +05:30
test_init.py MAINT docstring --> comments to prevent nose from using doc in verbose mode 2015-03-21 11:16:49 +05:30
test_isotonic.py TST/COSMIT remove nose call boilerplate 2015-05-28 14:54:01 -04:00
test_kernel_approximation.py MAINT docstring --> comments to prevent nose from using doc in verbose mode 2015-03-21 11:16:49 +05:30
test_kernel_ridge.py Support sparse matrices in KernelRidge. 2015-03-12 23:08:10 +09:00
test_lda.py Added Testcase for LDA-Covariance 2015-08-05 16:04:15 +02:00
test_learning_curve.py remove deprecated stuff from 0.17 2015-03-18 14:49:04 -04:00
test_metaestimators.py MAINT docstring --> comments to prevent nose from using doc in verbose mode 2015-03-21 11:16:49 +05:30
test_multiclass.py MAINT Remove support for the deprecated sequence of sequences 2015-08-11 22:26:44 +05:30
test_naive_bayes.py MAINT deprecate 1d input arrays for all estimators 2015-09-09 15:49:58 +02:00
test_pipeline.py PEP8 for recent merge 2015-06-12 05:11:36 +10:00
test_qda.py MAINT docstring --> comments to prevent nose from using doc in verbose mode 2015-03-21 11:16:49 +05:30
test_random_projection.py MAINT deprecate 1d input arrays for all estimators 2015-09-09 15:49:58 +02:00