How to move KMeans clustering from version 0.7 to 0.9

2014-06-17 Thread Aleksander Sadecki
Hi, I was using Apache Mahout version 0.7 and I was using this piece of code: KMeansDriver.run(conf, new Path(testdata/points), new Path(testdata/clusters), output, new EuclideanDistanceMeasure(),0.001, 10, true, 0.0, false); Next, I was iterating in this way to see the results:

Re: How to move KMeans clustering from version 0.7 to 0.9

2014-06-17 Thread Suneel Marthi
(1) Mahout 0.7 is not supported anymore and u shouldn't be using it. (2) To get ur code to compile with 0.9 remove the DistanceMeasure arguments in ur call to KMeansDriver.run() WeightedVectorWritable was replaced by WeightedPropertyVectorWritable in 0.9. So change the line of code to