views:

625

answers:

3

Hi All, Thanks for reading my question. I am looking for a light weight clustering library in java. I don't need 100s of clustering algo in that library just 5 to 7 algo would be fine for me.

I am sure, you are going to ask. What kind of algo. do you need and for what purpose :). So here is the answer. I just need to do classification of my data with the help of clustering. For example K means !

Thanks.

P.S: I know about weka but I don't want to use it as it is not specifically for clustering only

A: 

Apache Mahout implements many clustering algorithms, via Hadoop. It's a little heavy for what you want, but: http://cwiki.apache.org/MAHOUT/syntheticcontroldata.html

Also you might be able to dig out and adapt the user clustering code from Mahout's TreeClusteringRecommender class, which uses clustering for recommender engine purposes.

Sean Owen
i read about it. Its a very huge and complex one :(
A: 

You could have a look at CIlib. It's focus is mainly on computational intelligence, but it does have a few clustering algorithms such as KMeans and then clustering with GAs, PSOs, etc.

gpampara
+1  A: 

I would take a look at JUNG. It has a number of clustering algorithms implemented, although I'm not sure if K-means is one of them.

Another option might be to take a look at Knime, an Eclipse based workflow editor. This includes a number of clustering primitives you can use as part of a workflow, including K-means.

Binary Nerd