scikit-learn/sklearn/mixture
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
..
tests TST/COSMIT remove nose call boilerplate 2015-05-28 14:54:01 -04:00
__init__.py Add __all__ for the second half of the scikit 2012-09-04 18:00:49 +01:00
dpgmm.py DOC adding backlinks to docstrings 2015-06-03 00:24:04 -04:00
gmm.py MAINT deprecate 1d input arrays for all estimators 2015-09-09 15:49:58 +02:00