Commit Graph

42 Commits

Author SHA1 Message Date
Andreas Mueller b91f5c03a8 FIX i should trust my past self a bit more 2012-12-24 15:42:58 +01:00
Andreas Mueller cc63e1cbb4 ENH slight improvement of common tests. 2012-12-24 14:58:56 +01:00
Andreas Mueller 754c2d9533 COSMIT pep8 2012-12-22 16:48:17 +01:00
Andreas Mueller a0860b114d FIX don't use assert_allclose. It is not supported in numpy 1.3 2012-12-21 15:10:13 +01:00
Arnaud Joly db4422fcf9 ENH Simplify assert_raise_message + TST add them 2012-12-21 14:48:01 +01:00
Arnaud Joly 472902452e ENH Add allclose to sklearn.testing 2012-12-21 14:47:57 +01:00
Arnaud Joly e69281fd9a ENH assert_raise_message check for substring existence instead of equality 2012-12-21 14:34:23 +01:00
Olivier Grisel 60a86cc248 FIX: raise ValueError when n_components is too large 2012-12-21 14:34:19 +01:00
Peter Prettenhofer 755164f1a2 check in ``if_matplotlib`` if $DISPLAY set 2012-12-02 17:35:13 +01:00
Peter Prettenhofer bf752ddf54 use Agg backend with warn=False for matplotlib enabled tests 2012-12-02 17:26:17 +01:00
Peter Prettenhofer aff7da7834 Merge remote-tracking branch 'upstream/master' into gbrt-interactions 2012-11-30 09:29:27 +01:00
Mathieu Blondel df9fc91ca2 Add missing assertion. 2012-11-29 17:57:44 +09:00
Peter Prettenhofer 7f73ce6dfb test decorator to skip tests if matplotlib cannot be imported 2012-11-27 09:27:30 +01:00
Andreas Mueller 9babaa72e2 ENH minor improvements in testing, new utility function for safely setting random states. 2012-11-02 09:23:15 +00:00
Mathieu Blondel 6eec2e651b Even more sklearn.utils.testing. 2012-10-26 00:09:46 +09:00
Mathieu Blondel f65efcf8eb More use sklearn.utils.testing.
My model is training :)
2012-10-25 21:21:22 +09:00
Mathieu Blondel f358799c55 Fix test failure.
Sorry about that.
2012-10-19 17:31:29 +09:00
Mathieu Blondel 3f42c71000 Typo. 2012-10-19 17:04:52 +09:00
Mathieu Blondel e69acb1619 Add common assertions to sklearn.utils.testing.
The goal is to have all assertions conveniently in one place.
2012-10-19 16:43:19 +09:00
Andreas Mueller e9fc59afe6 ENH in all_estimators, skip testing modules. They have dummies. 2012-10-07 21:42:49 +01:00
Gael Varoquaux a12bd7bc7c ENH: understandable error message for X sparse 2012-08-10 11:23:00 +01:00
Andreas Mueller 82a762f69d COSMIT pep8 2012-08-10 11:06:42 +01:00
Gael Varoquaux 3b15f4494b TST: test the setup.py using the configure step
Also make the setup less verbose
2012-07-25 10:46:07 +02:00
Andreas Mueller c210c0b1fb FIX for filtering of meta estimators in python2.6 2012-06-27 20:53:19 +02:00
Andreas Mueller 30d624601a FIX better class selection, more strict testing. 2012-06-26 14:16:04 +02:00
Andreas Mueller 282d2671c7 BUG fix testing for abstract classes 2012-06-26 14:16:04 +02:00
Andreas Mueller 1e9c337927 ENH don't list abstract base classes 2012-06-26 14:16:03 +02:00
Andreas Mueller 863d53cb40 ENH factorize common tests. 2012-06-26 14:16:03 +02:00
Andreas Mueller acac9582ba FIX assert_greater message 2012-05-06 17:27:15 +02:00
Gael Varoquaux 1cf2faae9e BUG: fix assert_greater
And add a test: when doing a backport, it is always wise to check ones
implementation against the original
2012-05-06 17:10:55 +02:00
Gael Varoquaux 104fe38133 BUG: fix assert_greater/assert_lower
Pyflakes would have prevented this bug :)
2012-05-06 16:12:20 +02: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 a707c34d1c ENH remove duplicate definition of "assert_lower" in tests 2012-05-06 11:11:02 +02:00
Olivier Grisel 9b4be76534 FIX #807: non regression test for KPCA on make_circles dataset 2012-05-02 04:24:54 +02:00
Lars Buitinck 32f9a7cefb COSMIT replace utils.testing.assert_in with Nose-compatible functions 2012-04-05 14:39:07 +02:00
Andreas Mueller 8ec25b86e1 FIX This should fix the doctests in the datasets dir. They take quite long, I think it's because of the svmlight loaders. So I didn't include them in the standard make target 2011-12-18 19:35:22 +01:00
Jake Vanderplas 3d93ce82cf simplify warning test; remove assert_warns from utils 2011-10-09 21:57:21 +02:00
Jake Vanderplas 1ccb8ebea7 fixes for tests 2011-10-09 21:57:21 +02:00
Jake Vanderplas bc563c22d6 add warning messages to KNeighbors 2011-10-09 21:57:21 +02:00
Fabian Pedregosa ddf4b72109 Move project directory from scikits.learn to sklearn 2011-09-02 12:06:57 +02:00
Fabian Pedregosa 68f27e3790 Revert "Move project directory from scikits.learn to sklearn"
This reverts commit fd0d3b879d.
2011-09-02 12:03:18 +02:00
Fabian Pedregosa fd0d3b879d Move project directory from scikits.learn to sklearn 2011-09-02 11:38:24 +02:00