Joel Nothman
210cefa5d5
FIX cannot use set notation for Py2.6
2013-06-09 22:33:38 +10:00
Joel Nothman
fd3bd2d200
FIX/COSMIT helper to identify target types
...
* Fixes bugs related to simply checking type(..) equality
* Refactors metrics and preprocessing
* Invalidates mix of sequences of sequences and label indicators in
metrics
* Invalidates row vectors in metrics
* Fixes bug where single-class target led to incorrect F-score
2013-06-09 22:05:56 +10:00
Robert Layton
67cdef8078
Moved mst to a subfolder and added a README file
2013-06-04 13:57:15 +02:00
Robert Layton
8ad6b7b376
Added test
2013-06-04 13:57:15 +02:00
Jaques Grobler
2ffb484adb
COSMIT pep8
2013-05-04 10:43:39 +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
Lars Buitinck
b37791bab9
ENH cut MiniBatchKMeans memory usage in half for large n_clusters
...
Also, changed logging message to reflect the (public) class that is logging,
not the (private) function.
New Cython code lives in utils.sparsefuncs, because it may prove more
generally useful.
2013-03-13 15:23:50 +01:00
Lars Buitinck
2cb8b5e94b
P3K some more fixes in random places
2013-03-08 18:31:35 +01:00
Andreas Mueller
ffad26a299
FIX compute_class_weight edge case
2013-03-06 23:41:24 +01:00
Lars Buitinck
dc2c5c42c9
FIX + TST + DOC compute_class_weight
...
Fixes #1746 , #1747 . Bug reported and fix proposed by @gatagat.
2013-03-06 22:59:02 +01:00
Lars Buitinck
6bf90fe436
TST compute_class_weight in utils
2013-03-06 21:35:54 +01:00
Arnaud Joly
5bcf25fc2f
ENH multilabel metrics: accuracy, Hamming, 0-1 loss
2013-03-02 20:41:34 +01:00
Lars Buitinck
541987802f
P3K range vs. xrange
2013-02-14 02:05:35 +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
03048ddb5f
ENH more logical behavior, better docstring, tests
2013-01-05 19:59:46 +01:00
Vlad Niculae
5b948bbcf3
TEST flipped svd remains correct
2012-12-24 15:04:36 +01:00
Vlad Niculae
641d0a7e5b
Cannot easily ensure non-uniqueness without the fix, just test uniqueness
2012-12-24 15:03:49 +01:00
Vlad Niculae
5aed364db5
svd_flip test fails on Travis. Change random seed, see if it helps
2012-12-24 15:03:49 +01:00
Vlad Niculae
160648d8cc
Make sure svd_flip test actually tests something
2012-12-24 15:03:49 +01:00
Vlad Niculae
0755f156f8
Add sign flip as flag in randomized_svd
2012-12-24 15:03:49 +01:00
Vlad Niculae
9ca8f7e60a
Test more seeds for svd sign flipping
2012-12-24 15:02:24 +01:00
Vlad Niculae
0df8fb20ba
Add failing test and no-op flip
2012-12-24 15:02:24 +01:00
Andreas Mueller
966e10c252
COSMIT PEP8
2012-12-22 16:48:17 +01:00
Andreas Mueller
754c2d9533
COSMIT pep8
2012-12-22 16:48:17 +01:00
Arnaud Joly
db4422fcf9
ENH Simplify assert_raise_message + TST add them
2012-12-21 14:48:01 +01:00
Arnaud Joly
07881645a6
COSMIT make everything use the common interface
2012-12-21 14:48:01 +01:00
Arnaud Joly
a6ed58dc4d
ENH flatten random_projection module + add sklearn.utils.random
2012-12-21 14:48:00 +01:00
Peter Prettenhofer
6f08ae6760
added test for cartesian
2012-11-10 13:48:35 +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
Andreas Mueller
3c854a2fef
COSMIT pep8
2012-10-31 15:36:03 +00: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
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