kayzhu / LSHash

A fast Python implementation of locality sensitive hashing.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sparse Matrix

nournia opened this issue · comments

Is it possible to use this package with sparse matrix?
I mean without converting it to dense matrix, something like this:

np.ndarray.flatten(vector.toarray())

Actually I want to use Locality Sensitive Hashing on text data and now I convert text to vector with scikit-learn's feature extraction module.