Arthur Mensch
a52053deef
Fix sparse_encode input checks
2015-10-05 13:59:48 +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
Arthur Mensch
fead69a4ac
Bugfix : type in cd changed for read only memmap compatibility
2015-07-31 12:12:40 +02:00
Andreas Mueller
990a6b402f
FIX n_jobs slicing bug in dict learning, add input validation to gen_even_slices
2015-05-20 15:29:25 -04:00
MechCoder
c838c382b9
FIX: Preserve public API by introducing return_n_iter param
2014-07-22 15:09:39 +02:00
MechCoder
bbb140aaf0
ENH: Added n_iter_ parameters across all iterative solvers
2014-07-22 15:09:39 +02:00
Alexandre Gramfort
4550aaea19
ENH : use local seed + avoid warning
2014-05-22 09:14:33 +02:00
Alexandre Gramfort
50d40fb70b
FIX : omp default param could fail
2014-05-22 07:46:14 +02:00
Lars Buitinck
23b3cc2eb5
MAINT drop support for SciPy < 0.9
...
TODO: get rid of solve_triangular. Just replacing it by scipy.linalg's
breaks OMP and least-angle regression.
2014-03-02 20:13:57 +01:00
Gael Varoquaux
e5bed51e48
BUG: fix partial_fit of MiniBatchDictLearning
...
The inner state of the algorithm (essentially sufficient statistics
approximating the data already seen) were not kept, and as a result
partial_fit was strongly sub-optimal
2013-11-20 15:03:00 +01:00
Andreas Mueller
e42f211435
ENH make sure all "SkipTest" calls have an error message.
2013-10-20 13:43:34 -07:00
Olivier Grisel
5a5268b89f
PY3: fix remaining cStringIO imports
2013-03-19 17:57:12 +01:00
Andreas Mueller
23dfc0ca91
TST fix random states in all dict learning tests, make test independent of test sequence.
2013-02-01 18:55:19 +01:00
Andreas Mueller
22b52eb124
COSMIT renaming chunk_size to batch_size in MiniBatchDictionaryLearning and MiniBatchSparsePCA
2012-12-16 15:45:34 +01:00
Andreas Mueller
a375cbff1a
TST better coverage in dict learning and cross validation
2012-12-02 20:19:24 +00:00
Immanuel Bayer
e2efecd65f
ENH fix pep8
2012-11-04 10:01:13 +00:00
Immanuel Bayer
ca8a8eb66a
ENH renaming 'n_atoms' to 'n_components' for consistency
2012-11-04 10:01:13 +00:00
Mathieu Blondel
6eec2e651b
Even more sklearn.utils.testing.
2012-10-26 00:09:46 +09:00
Andreas Mueller
3e5f2e5e08
ENH backport "assert_less" and "assert_greater", rename "assert_lower" and use it everywhere :)
2012-05-06 15:43:29 +02:00
Andreas Mueller
da4651f94c
COSMIT pep8
2012-02-11 15:45:10 +01:00
Alexandre Gramfort
ad8e4912cb
TST: use assert_true instead of assert + remove some relative imports
2012-02-11 15:43:03 +01:00
Vlad Niculae
384f4b7326
Hide sparse_encode -- redundant
2011-12-19 20:15:22 +01:00
Vlad Niculae
697653eee2
Test for almost equal instead of equal in sparse_encode_error
2011-12-19 19:03:27 +01:00
Vlad Niculae
63f06a1952
work on failing tests
2011-12-19 18:31:57 +01:00
Vlad Niculae
13a0507da9
Fix the API and the scaling inside dict_learning
2011-12-19 17:14:11 +01:00
Vlad Niculae
3fac035390
cleaned up imports in test
2011-12-07 21:37:24 +02:00
Vlad Niculae
826df8d179
clean up test
2011-12-07 21:07:32 +02:00
Vlad Niculae
52bbc80880
Basic testing
2011-12-06 12:20:30 +02:00
vene
167f34080e
renamed MiniBatchDictionaryLearning
2011-09-17 18:55:16 +03:00
vene
38e88d7713
Copied tests, fixed examples imports, enhanced see alsos
2011-09-05 02:42:37 +03:00