Commit Graph

243 Commits

Author SHA1 Message Date
Gael Varoquaux edcfcd3f96 COSMIT: pep8 in arrayfuncs.pyx
Did not rebuild the C file as the changes are only cosmetic
2012-10-31 09:28:11 +01: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
Andreas Mueller 1406cdfbb7 ENH use the numbers module introduced in Python 2.6 to check for number types.
Fixes 1255.
2012-10-24 18:44:53 +02:00
Lars Buitinck 0dd841f6ee Revert (rebased) merge of euclidean_distances speedup
This reverts commits 38155aabe4
through ca703ae678 (inclusive).
2012-10-24 10:40:30 +02:00
Vlad Niculae ab3304f636 Separate dense_output and out parameters, document better
Addresses @larsmans's comment.
2012-10-23 15:50:24 +02:00
GaelVaroquaux 230fff7d8e BUG: follow scipy API change
This one is particularly difficult to test for. We are paying the cost of
using functions that scipy regards as internal.
2012-10-23 15:50:24 +02:00
Vlad Niculae cb4879db48 Add test for dense_output, fix bug, cleaned up logic 2012-10-23 15:50:24 +02:00
Vlad Niculae a3b0c4ca74 safe_sparse_dot into preallocated output 2012-10-23 15:50:24 +02: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 a2cd5fa94c Fix density utility when input is sparse. 2012-10-19 16:53:36 +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
Mathieu Blondel 83bfb4a467 Merge exthmath tests into the same file. 2012-10-19 16:31:01 +09:00
Gael Varoquaux d7152a529f BUG: cater for dev versions of numpy 2012-10-13 19:17:07 +02:00
Andreas Mueller d6655fa8e0 FIX for len(result) > minlength 2012-10-12 09:16:54 +01:00
Andreas Mueller 04b31e23ef ENH simplify as suggested by @larsmans. 2012-10-11 21:30:55 +01:00
Andreas Mueller f9df471d3e FIX bincount mess I made in kmeans. 2012-10-11 19:20:14 +01:00
Andreas Mueller 9bd0aadaa3 MISC renamed n_iterations to n_iter in all other places. 2012-10-10 19:10:29 +01:00
Gael Varoquaux 7c70198efc FIX: doctests under Windows 64bit
Thanks to @bdholt1 for reporting these errors
2012-10-07 23:12:56 +02:00
Andreas Mueller e9fc59afe6 ENH in all_estimators, skip testing modules. They have dummies. 2012-10-07 21:42:49 +01:00
Andreas Mueller d50c0cb06c COSMIT pep8 2012-10-02 17:31:00 +01:00
Gael Varoquaux 7842748cf7 BUG: copy and keep ordering
This is due to a change in behavior in numpy that now does
not keep the ordering by default when copying.

Fixes #1186
2012-09-28 09:32:03 +02:00
Lars Buitinck f5bcc3d27b COSMIT re-indent docstring for safe_mask 2012-09-18 18:31:23 +02:00
Olivier Grisel 0eca37dc17 cosmit 2012-09-12 22:34:00 +02:00
Vlad Niculae f4a4016d14 Cloned @jakevdp's pinvh tests 2012-09-04 19:58:47 +01:00
Jake Vanderplas 776b060098 @jakevdp's version of pinvh
speed up symmetric_pinv
2012-09-04 19:58:46 +01:00
Vlad Niculae bfac9f2597 Vectorize singular value inversion 2012-09-04 19:58:46 +01:00
Vlad Niculae 4a5a1d6d84 Compute pseudoinverse using eigendecomposition 2012-09-04 19:58:46 +01:00
Alexandre Gramfort e4838831d9 ENH : add copy param to array2d_or_csx 2012-09-02 23:16:52 +02:00
Alexandre Gramfort 2184c4698d ENH : add copy arg to array2d and new atleast2d_or_csr usual for sparse coordinate descent
Conflicts:

	sklearn/utils/validation.py
2012-09-02 23:16:51 +02:00
Vlad Niculae 2516b6217f Remove fast_svd.
This was deprecated in version 0.9.
2012-09-01 20:02:13 +02:00
Andreas Mueller 8b3e4d06c0 ENH some cleanup in grid_search.
Closes #777.
2012-08-29 13:50:37 +02:00
Alexandre Gramfort b59e1005fc FIX : make as_float_array keep fortran order on dense array when copy 2012-08-21 17:08:47 +02:00
Andreas Mueller e95d4613e0 ENH Added copy keyword to safe_sqr, added to dev docs. 2012-08-16 17:51:01 +01:00
Andreas Mueller c520275f06 ENH sparse matrix support in univariate feature selection 2012-08-16 17:50:59 +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 b5519f08da Merge branch 'linking_arrayfuncs'
Conflicts:
	setup.py
	sklearn/__init__.py
2012-07-26 23:33:29 +02:00
GaelVaroquaux 446611dbcf MISC: build_utils: module rather than a subpackages 2012-07-26 11:45:20 +02:00
Lars Buitinck 1a5e4c3a11 ENH more specific warning filter for qr_economic 2012-07-25 13:38:18 +02:00
David Cournapeau d8e30f1ca8 REF: hack to be able to share distutils utilities.
We took the ugly trick from NumPy to separate build vs normal use of
sklearn imports.
2012-07-25 11:35:40 +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
Nelle Varoquaux 73a274ee7a Added test to sklearn.utils.bench's total_seconds method 2012-07-24 15:34:52 +02:00
Lars Buitinck f8c19f9b19 COSMIT suppress warning from qr_economic + docstring on Counter 2012-07-24 15:11:39 +02:00
Lars Buitinck fb9b7ce79e COSMIT remove some dead code 2012-07-21 01:38:25 +02:00
Andreas Mueller c1c734af47 ENH put atlas checking in one place and load from there. 2012-07-20 23:45:26 +01:00
Lars Buitinck 38c3c30207 COSMIT refactor input validation code and tests 2012-07-20 15:18:16 +02:00
Andreas Mueller d4dc61b709 FIX trying to fix long-standing linker issue 2012-07-16 21:31:23 +01:00
Andreas Mueller c210c0b1fb FIX for filtering of meta estimators in python2.6 2012-06-27 20:53:19 +02:00