Commit Graph

89 Commits

Author SHA1 Message Date
Andreas Mueller f35116ad03 Allow list of strings for type_filter in all_estimators. 2014-12-04 16:58:07 -05:00
Olivier Grisel a6993945da FIX make assert_raises_regex backport for 2.6 consistent with 2.7+
Use regex.search instead of regex.match.

Furthermore, silence the deprecation warning from Python 3.4 as
assert_raises_regexp is now deprecated in favor of the shorter name:
assert_raises_regex.
2014-11-18 11:59:01 +01:00
Lars Buitinck 79646ff633 MAINT use %r for better printing of regexps 2014-09-03 12:46:04 +02:00
Gael Varoquaux 49a7fe1d50 MAINT: be robust to numpy's DeprecationWarning
numpy 1.9 raises a lot of 'VisibleDeprecationWarning', which breaks our
test suite
2014-08-28 17:23:52 +02:00
Joel Nothman c25467ef1a MAINT Remove note that assert_warns comes with Numpy 1.7
This is obsolete since 9f45e37 when the behaviour of assert_warns was
altered.
2014-08-18 19:23:15 +10:00
Anders Aagaard 25f72c4647 FIX six issue with module imports
Fixes #3518, #3519.

Inspired by Johannes Schönberger's patch to scikit-image,
71743d2d6f
2014-08-01 10:49:29 +02:00
Joel Nothman d5430e3c0b DOC fix doc errors in utils.testing 2014-07-28 13:13:50 +10:00
Gael Varoquaux 4aac610dc3 TST: Fix warnings in np 1.9
These break our tests
2014-07-25 13:40:47 +02:00
Andreas Mueller 718f6ad19f split test_common.py into checks and test file.
move dataset generation into estimator_checks
2014-07-18 14:34:51 +02:00
Hamzeh Alsalhi 9f45e3730f Modified sparse OvR to handle sparse target data
Defaulted label binarizer to set sparse_output=True when training ovr
classifiers, edited Label binarizer to allow for sparse binary column output
2014-07-18 12:10:50 +02:00
Kyle Kastner 96895ebd39 Added utility to skip tests if running on Travis 2014-07-09 11:24:37 +02:00
Gael Varoquaux 5be7cc2063 Merge pull request #3333 from ogrisel/maint-skip-download-tests
[MRG+2] MAINT skip tests that require large data download under travis
2014-07-04 15:08:55 +02:00
Olivier Grisel ac45e5d03c MAINT skip tests that require large datadownload under travis 2014-07-02 13:50:47 +02:00
Noel Dawe 39f831d466 utils.testing: add assert_greater_equal and assert_less_equal 2014-07-02 11:47:32 +02:00
Andrew Clegg c217d10707 Fixed typo 2014-05-25 01:12:51 +01:00
Andrew Clegg c5fc383555 Workaround for andrewclegg/snake-charmer#12 2014-05-25 01:11:15 +01:00
Mikhail Korobov 20c45ae3d8 TST move Mac OS checking utility to sklearn.utils.testing 2014-03-21 04:21:00 +06: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
Jaques Grobler 6ebcf4d020 COSMIT fix PEP8 errors 2014-02-02 00:30:28 +11:00
Gael Varoquaux 7c3a1c686a BUG: assert_raises_regexp for Py2.6 compatibility 2014-01-19 00:19:20 +01:00
Alexander Fabisch 57916b7801 Use assert_raises_regexp to check error messages 2014-01-17 08:20:49 +01:00
dengemann 1eacd31540 py3k syntax 2013-11-29 19:58:24 +01:00
dengemann d8ad680ace Improve doc 2013-11-29 13:55:40 +01:00
dengemann 0b62e57258 remove import 2013-11-29 13:55:39 +01:00
dengemann 39fb5c5922 address discussion 2013-11-29 13:55:39 +01:00
dengemann 4c10c82dbb ENH: address discussion 2013-11-29 13:55:39 +01:00
dengemann a4e67d61c6 FIX: doc example 2013-11-29 13:55:39 +01:00
dengemann 9fd2be49dd ENH: context manager + decorator 2013-11-29 13:55:39 +01:00
dengemann 9b1207b01d ENH: final fix: clear all regisitries 2013-11-29 13:55:39 +01:00
dengemann f9cd5990eb ENH: revem tests_metrics.py 2013-11-29 13:55:39 +01:00
dengemann e1bdd99ea6 ENH: add assert_warn_message 2013-11-29 13:55:39 +01:00
dengemann d2f3a8a3da ENH: refactor warnings 1 2013-11-29 13:55:38 +01:00
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