[SciPy-dev] Implementing a distance matrix between two sets of vectors concept
Wed Jul 4 23:00:11 CDT 2007
The sparse functionality I use is actually in scipy, this page describes how
On 7/4/07, David Cournapeau <firstname.lastname@example.org> wrote:
> Peter Skomoroch wrote:
> > You're right, I was thinking the sparse data structures would help
> > with storing the input vectors themselves during the computation
> > rather than the final matrix (which will need to be 1/2 M*N if the
> > distance is symmetric)...this comes up a lot in collaborative
> > filtering where the dimensionality of the vectors is high, but most of
> > the vector entries are missing.
> Ok, that this basically means supporting sparse input, right ? I have to
> say that I don't know anything about sparse implementations issues in
> numpy (or any other language for that matter). I guess that performances
> mainly depend on the flexibility between matrix representation and data
> storage. Are sparse arrays directly supported in numpy ?
> Scipy-dev mailing list
Peter N. Skomoroch
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Scipy-dev