# Questions about clusterer 0.1.9 gem

**URL:** <https://www.ruby-forum.com/t/questions-about-clusterer-0-1-9-gem/108192>\
**Category:** Ruby\
**Created:** [June 29, 2007, 10:23pm UTC](https://www.ruby-forum.com/t/questions-about-clusterer-0-1-9-gem/108192 "2007-06-29T22:23:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Axel\_E](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/7c8e57/32.png) [@Axel\_E](https://www.ruby-forum.com/u/Axel_E)\
**Post date:** [June 29, 2007, 10:23pm UTC](https://www.ruby-forum.com/t/questions-about-clusterer-0-1-9-gem/108192/1 "2007-06-29T22:23:21Z")

</div>

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,

Axel
