CUR Decomposition as described in Mining of Massive Datasets, page 406.
Currently it only works with Numpy arrays but the point of CUR is to keep C and R sparse if M is sparse so I plan to add support for Scipy Sparse arrays.
M = np.array([ ... ]) r = int from cur import cur_decomposition C, U, R = cur_decomposition(M, r)
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size cur-0.0.1.tar.gz (2.8 kB)||File type Source||Python version None||Upload date||Hashes View hashes|