[Numpy-discussion] Support for sparse matrix in Distance function (and clustering)?

Bab Tei babaktei at yahoo.com
Wed Dec 10 17:28:21 EST 2008


Damian Eads <eads <at> soe.ucsc.edu> writes:

> 
> Hi,
> 
> Can you be more specific? Do you need sparse matrices to represent
> observation vectors because they are sparse? Or do you need sparse
> matrices to represent distance matrices because most vectors you are
> clustering are similar while a few are dissimilar?
> Damian
> 
> On Tue, Dec 9, 2008 at 1:28 PM, Bab Tei <babaktei <at> yahoo.com> wrote:
> > Hi
> > Does the distance function in spatial package support sparse matrix?
> > regards
Hi
I need sparse matrices to represent observation vectors because they are sparse.
I have a large sparse matrix. I also use kmeans (Besides hierarchical
clustering) which can directly work with very large data.
Teimourpour


      



More information about the NumPy-Discussion mailing list