Forum: Ruby Questions about clusterer 0.1.9 gem

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Axel E. (Guest)
on 2007-06-30 00:23
(Received via mailing list)
Dear all,

I've got some syntax questions about the
Clusterer 0.1.9 gem, because I'm currently
struggling to find some documentation to get
it to work for me (what I could find on the
web seems to relate to version 0.1.0 and to
be outdated.)

In particular, I'd like to understand the
meaning of the options hash in the file
algorithms.rb better.

How do I now (i.e. in 0.1.9) create a kmeans cluster,
for say, k=2 and documents:

["hello world","mea culpa","goodbye world"] ?

Thank you for your help!

Best regards,

This topic is locked and can not be replied to.