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

Damian Eads eads at soe.ucsc.edu
Tue Dec 9 17:34:47 EST 2008


Btw, I didn't notice this before I clicked "Send" but this question is
more appropriate for the SciPy users list. Please make sure you direct
your reply there.

On Tue, Dec 9, 2008 at 3:32 PM, Damian Eads <eads at soe.ucsc.edu> wrote:
> 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?
>
> The clustering code is written mostly in C and does not support sparse
> matrices. However, this should not matter because most of the
> clustering code does not look at the raw observation vectors
> themselves, just the distances passed as a distance matrix.
>
> 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
>>
>>
>>
>> _______________________________________________
>> Numpy-discussion mailing list
>> Numpy-discussion at scipy.org
>> http://projects.scipy.org/mailman/listinfo/numpy-discussion
>
> -----------------------------------------------------
> Damian Eads                             Ph.D. Student
> Jack Baskin School of Engineering, UCSC        E2-489
> 1156 High Street                 Machine Learning Lab
> Santa Cruz, CA 95064    http://www.soe.ucsc.edu/~eads
>



More information about the SciPy-User mailing list