Commit Graph

57 Commits

Author SHA1 Message Date
Andreas Mueller 7e7dc78c6b don't import tests 2013-10-20 13:54:08 -07:00
Joel Nothman d0c981fa1d MAINT deprecate indices=False for cross validation generators 2013-09-10 10:58:24 +02:00
Brooke Osborn 2eddb1a29f BUG fix whitespace in error messages
Partial fix for #2380.

Signed-off-by: Lars Buitinck <L.J.Buitinck@uva.nl>
2013-08-26 17:02:52 +02:00
Olivier Grisel 5824bc22e1 WIP: explicitly mark all base classes as ABC with abstractmethod inits 2013-07-28 18:37:12 +02:00
Arnaud Joly cdfaa825f5 Backport assert_warns and assert_no_warnings from np 1.7 2013-07-27 15:01:50 +02:00
Gael Varoquaux 006c4346c9 BUG: fix kde tests 2013-07-26 15:20:34 +02:00
Olivier Grisel 0859653e09 FIX: use the mldata mock in docstring as well 2013-05-01 13:49:58 +02:00
Robert Layton dacfd8bd5d DOC: Replaced all BSD style licenses with "BSD 3 clause"
Replaced all BSD style licenses with "BSD 3 clause"
Not checked yet!

Removed duplicate "3 clause, 3 clause"

Removed trailing period if exists

Fixed some missed licences, still about 50 to do, but those can be automated

Think I got the last of them.

Apparently me and sed have different ideas of regex.

Found a few more
2013-04-30 08:34:46 +02:00
Olivier Grisel 3379504b6b PY3: fix urlopen in mldata and california housing loaders 2013-03-19 17:56:57 +01:00
Lars Buitinck 2cb8b5e94b P3K some more fixes in random places 2013-03-08 18:31:35 +01:00
Andreas Mueller 0c94b55c63 ENH add randomized hyperparameter optimization 2013-03-03 20:56:39 +01:00
Lars Buitinck c809368392 BUG revert P3K changes that broke mldata tests 2013-02-10 15:40:41 +01:00
Olivier Grisel 1967a0b323 P3K use six to have a python 2 & 3 compatible code base 2013-02-09 18:08:44 +01:00
Andreas Mueller 2297306edf COSMIT pep8 2013-02-08 22:10:40 +01:00
Olivier Grisel 0693734fc9 P3K More python 2 / 3 compat in tree exports 2013-02-03 22:01:53 +01:00
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