Commit Graph

104 Commits

Author SHA1 Message Date
Olivier Grisel 1529a1e548 MAINT enable multiprocessing + kmeans test on Python 3.4 2015-09-04 11:47:34 +02:00
Arthur Mensch fead69a4ac Bugfix : type in cd changed for read only memmap compatibility 2015-07-31 12:12:40 +02:00
TomDLT fe38e2509d ENH check that unfitted estimators raise ValueError 2015-05-20 16:40:19 +02:00
TomDLT 89c1018c64 ENH improve check_array
ENH improve check_array to warn on dtype conversions

ENH make check_array accept several dtypes

ENH change validation with improved check_array

ENH change astype to avoid copy if possible

ENH remove warn_if_not_float
2015-05-19 16:13:42 +02:00
Alexandre Gramfort 9eb1964724 Merge pull request #4161 from rasbt/ensemble-classifier
[MRG + 2] EnsembleClassifier implementation
2015-05-08 09:21:36 +02:00
Andreas Mueller 9dc8118904 Merge pull request #4526 from vortex-ape/if_matplotlib
[MRG + 1] Changed import statement and checked for ImportError in if_matplotlib
2015-04-30 13:17:27 -05:00
Andreas Mueller 14c54c4047 FIX make backport of assert_raises_regex raise the same error as the python3 version. 2015-04-28 18:01:09 -04:00
rasbt 2910198f14 votingclassifier 2015-04-20 19:27:30 -04:00
jfraj c9510ed191 Fixing bug in assert_raise_message #4559
assert_raise_message now only calls assert_raises_regex
changing the message argument into a literal text
2015-04-14 13:00:46 -04:00
Vinayak Mehta 6efb03fdaa Changed import statement and checked for ImportError 2015-04-11 04:52:11 +05:30
Jan Hendrik Metzen 6ec7a0efbb TST Tests for the calibration module 2015-02-20 19:37:11 +01:00
Andreas Mueller e3e0827243 FIX check (and enforce) that estimators can accept different dtypes. 2015-02-10 15:37:15 -05:00
Raghav R V b3fbccca38 FIX various mismatch between docstring and signature params
DOC max_iterations -> max_iter. Make it consistent with kmeans

MAINT Replace the deprecated dx parameter with d in the docstrings

MAINT Deprecation warning for max_iterations parameter.
2015-01-16 11:54:57 -05:00
maheshakya 32491b0bbe FIX Modified assert_warns_message to ignore order of warnings. 2014-12-18 19:50:02 +01:00
maheshakya 7de8e3fc35 ENH Used GaussianRandomProjectionHash for handling hashing. 2014-12-18 19:50:02 +01:00
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