Surendra Singhi
2006-Aug-24 18:54 UTC
[Rails] [ANN] acts_as_clusterable plugin allows easy clustering of records
Hello, I am pleased to announce the availability of the plugin acts_as_clusterable which is available at the following link. http://opensvn.csie.org/acts_as_clusterable/ This plugin uses the Ruby clusterer gem and makes it easy to cluster active_record models. After installing the plugin add acts_as_clusterable :fields => [''title'',''text''] to the models. If no fields are given then it will use all text and string fields present in the model. Now, doing clustering is as easy as: Joke.hierarchical_clustering() Joke.kmeans_clustering() More information can be found at http://cuttingtheredtape.blogspot.com/2006/08/actsasclusterable.html Happy hacking, -- Surendra Singhi http://ssinghi.kreeti.com, http://www.kreeti.com Read my blog at: http://cuttingtheredtape.blogspot.com/ ,---- | Great wits are sure to madness near allied, | And thin partitions do their bounds divide. | | (John Dryden, Absalom and Achitophel, 1681) `---- --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---