Commit Graph

67 Commits

Author SHA1 Message Date
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
Vlad Niculae cb4879db48 Add test for dense_output, fix bug, cleaned up logic 2012-10-23 15:50:24 +02: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
Andreas Mueller 9bd0aadaa3 MISC renamed n_iterations to n_iter in all other places. 2012-10-10 19:10:29 +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
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 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
Alexandre Gramfort b59e1005fc FIX : make as_float_array keep fortran order on dense array when copy 2012-08-21 17:08:47 +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 38c3c30207 COSMIT refactor input validation code and tests 2012-07-20 15:18:16 +02:00
Mathieu Blondel e47039d71a Fix warning. 2012-05-21 12:58:32 +09:00
Mathieu Blondel f6729848c4 Unused import. 2012-05-21 12:55:34 +09:00
Alexis Mignon 4842ebb16b Unified access to 'mean_variance_axis0' for CSC and CSR matrices 2012-05-16 07:58:02 +02:00
Alexis Mignon c2c35da51c Made code pep compliant 2012-05-16 07:57:55 +02:00
Alexis Mignon 95ba957556 Corrected missing import of csc_mean_variance_axis0 2012-05-16 07:57:53 +02:00
Andreas Mueller 1ebcc4a486 COSMIT pep8 2012-05-15 21:18:30 +02:00
Andreas Mueller eeb6dcc4cc ENH use random states everywhere, never call np.random. 2012-05-06 18:35:14 +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
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 bc942e8c9d COSMIT pep8 2012-03-02 19:39:43 +01:00
Jake Vanderplas ae1dea6379 TEST: non-regression test for fibonacci heap bug fix 2012-02-25 20:33:28 +01:00
Jan Hendrik Metzen 51f568022f FIX : Fixed bug in single_source_shortest_path_length in sklearn.utils.graph 2012-02-25 19:26:21 +01:00
Alexandre Gramfort ad8e4912cb TST: use assert_true instead of assert + remove some relative imports 2012-02-11 15:43:03 +01:00
Olivier Grisel 106a6bf157 add tests for invalid argument + fixed a type error 2012-02-10 23:12:22 +01:00
Olivier Grisel c6f17c08ee Shorter cpdef function names + missing docstrings 2012-01-18 06:16:07 +01:00
Olivier Grisel f9d1efe64f ENH: add the ability to hash int arrays 2012-01-17 10:39:13 +01:00
Olivier Grisel 152d225789 implementation & test for the murmurhash wrapper module 2012-01-17 02:30:59 +01:00
Olivier Grisel 6f6697896b first stab at trying to wrap MurmurHash3 2012-01-16 01:40:47 +01:00
Mathieu Blondel 05c42cc4e4 Add safe_mask utility.
Got tired of always typing the same few lines again and again...
2012-01-13 15:31:45 +09:00
Olivier Grisel 0f6c525d7e ENH: renamed fast_svd to randomized_svd + related improvements 2011-12-31 14:31:55 +01:00
Andreas Mueller 3a6e490e05 COSMIT pep8 2011-12-23 19:12:52 +01:00
Jake Vanderplas 7f53024ae9 remove unused imports 2011-12-23 09:27:40 -08:00
Jake Vanderplas 8ad077dcbb fix logsum test 2011-12-21 02:48:50 -08:00
Jake Vanderplas 16ef900810 Merge commit 'upstream/master' into util-docs 2011-12-21 01:37:54 -08:00
Andreas Mueller 07b3690044 FIX: missing import 2011-12-20 23:53:21 +01:00
Lars Buitinck ff4ca1c469 TST add test for sklearn.utils.extmath.logsum 2011-12-20 19:58:52 +01:00
Lars Buitinck 2998a7cc04 COSMIT reorganise utils tests 2011-12-20 19:44:42 +01:00
Jake Vanderplas 96ea318b8b Move graph_shortest_path to utils/graph.py 2011-12-19 10:59:00 -08:00
Mathieu Blondel ac1c9aaddb Test edge case. 2011-12-19 17:20:26 +01:00
Mathieu Blondel 0d927f00ea Cosmit. 2011-12-19 17:18:19 +01:00
Mathieu Blondel 8311b1bbd8 Fix bug with sparse matrices. 2011-12-19 16:28:53 +01:00
Mathieu Blondel 64adbcaddd Implement mean_variance_axis0. 2011-12-19 16:28:21 +01:00
Gael varoquaux 515a8e30c7 BUG: API change in fast_svd
Shame on me.
2011-12-19 10:09:25 +01:00