scikit-learn/sklearn/linear_model/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 add sample_weight into LinearRegression 2015-08-13 14:32:07 -04:00
test_bayes.py MAINT docstring --> comments to prevent nose from using doc in verbose mode 2015-03-21 11:16:49 +05:30
test_coordinate_descent.py Added check_input in Lasso for DictLearning performance 2015-08-20 11:36:24 +02:00
test_least_angle.py pep8 + simplify positive test 2015-08-28 21:43:46 +02:00
test_logistic.py Add non regression test 2015-08-30 11:44:58 -04:00
test_omp.py fix ompcv on old scipy versions 2015-03-18 10:25:01 -04:00
test_passive_aggressive.py add class_weight to PA cls, remove from PA reg 2015-06-06 08:57:17 -07:00
test_perceptron.py COSMIT pep8 2012-11-10 14:02:29 +00:00
test_randomized_l1.py MAINT docstring --> comments to prevent nose from using doc in verbose mode 2015-03-21 11:16:49 +05:30
test_ransac.py Fixed test to check for capital No 2015-07-11 13:37:13 -05:00
test_ridge.py Merge pull request #4838 from trevorstephens/ridge_sw 2015-06-09 11:22:50 -04:00
test_sgd.py MAINT deprecate 1d input arrays for all estimators 2015-09-09 15:49:58 +02:00
test_sparse_coordinate_descent.py MAINT docstring --> comments to prevent nose from using doc in verbose mode 2015-03-21 11:16:49 +05:30
test_theil_sen.py COSMIT: Better consistency 2014-10-17 09:54:01 +02:00