[SciPy-User] K-means clustering algorithm

Zachary Pincus zachary.pincus at yale.edu
Mon Feb 7 13:20:35 EST 2011


pycluster works reasonably well too -- all the backend stuff is in C.

http://bonsai.hgc.jp/~mdehoon/software/cluster/software.htm


On Feb 7, 2011, at 12:27 PM, Gael Varoquaux wrote:

> On Mon, Feb 07, 2011 at 12:17:47PM -0500, Tobjan Brejicz wrote:
>>   I would like to know about good implementations of clustering-type
>>   algorithm in scipy, or maybe also in related package.   Specific,  
>> I want
>>   to do k-means clustering.
>>   Does someone recommend the k-means clustering implementation?   For
>>   example, to constrast scipy and scikits.learn and some other  
>> examples?
>
> Scipy's k-means works fine. Tle scikit-learn implementation should be
> faster, but to the cost of depending on an extra package.
>
> I would advice you to try both, time the difference on your data, and
> decide in function of the result.
>
> Gael
> _______________________________________________
> SciPy-User mailing list
> SciPy-User at scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user




More information about the SciPy-User mailing list