[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: [ANN] Clusterer - 0.1.0 first release

Lyle Johnson

8/22/2006 6:18:00 PM

On 8/22/06, Surendra Singhi <efuzzyone@netscape.net> wrote:

> I am pleased to announce the availability of the Ruby library 'clusterer'
> which implements the basic K-Means and Hierarchical Clustering algorithms for
> text data.

I've installed the gem but am not getting very good results with my
limited use. In particular, I tried the example you posted on your
blog:

Clusterer::Clustering.kmeans_clustering(["hello world","mea
culpa","goodbye world"])

but it appears to have placed all three strings in the same cluster;
the result was [[0, 1, 2]]. I get a similar result ([[1, 0, 2]]) if I
try the hierarchical clustering instead.

This is on Mac OS X 10.4, running Ruby 1.8.4.