JoshuaJeanThree
JoshuaJeanThree

Reputation: 1392

Apache Mahout K-means clustering implementation

I have tried KmeansDriver's run() function but I did not give true parameters. Trustly, I did not understand implementation of this function. Is there a clear example about that which takes a matrix, dataset or file and gives clustered data?

I am trying to cluster a sparse matrix with using K-means algorithm. I will use Apache mahout but I did not find any example about how can it be implement with Java. Is there any tutorial or function javadoc about it?

Upvotes: 0

Views: 4032

Answers (1)

Alex Ott
Alex Ott

Reputation: 87359

You can look to the examples from book "Mahout in Action". For example, in chapter 7 there is a minimal example - for Mahout 0.5. Or you can look to the same example for Mahout 0.7.

Upvotes: 2

Related Questions