Commit Graph

20 Commits

Author SHA1 Message Date
Thomas Unterthiner 325e998fcc Extend utils.sparsefuncs: inplace scale and axis min/max 2014-05-18 20:03:37 +10:00
Manoj-Kumar-S 5d47cfcbcb Improved formatting of unsupported sparse matrices in swapping 2014-05-10 11:37:53 +05:30
Manoj-Kumar-S fc634f95f2 Made the following changes
1. Minor changes to docs
2. Replaced swap with inplace_swap
2014-04-30 23:27:26 +05:30
Manoj-Kumar-S 924db9b07e Made the following changes
a] Replaced numpy slicing with concatanate
b] Added swap_sparse_column
2014-04-24 20:58:11 +05:30
Manoj-Kumar-S 5119d68982 ENH: Swap rows in sparsefuncs 2014-04-24 17:19:09 +05:30
cgohlke 627c564fae TST: Fix ValueError: Buffer dtype mismatch, expected 'npy_intp' but got 'long' on win-amd64 2014-03-30 11:53:02 +02:00
Manoj-Kumar-S 22c412d357 TST: Added tests for non-CSR/CSR format 2014-03-27 15:03:31 +05:30
Manoj-Kumar-S bbb8f1d1bf Moved sparsefuncs to sparsefuncs_fast 2014-03-27 13:20:45 +05:30
Manoj-Kumar-S 8cf30f1089 ENH: Optimise sparsefuncs
a] Removed numpy overhead in finding mean
b] Removed enumerate
c] Added tests to test_sparsefuncs
d] Replaced multiple looping with a single loop
2014-03-27 11:56:20 +05:30
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
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 3a6e490e05 COSMIT pep8 2011-12-23 19:12:52 +01: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