mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rahul Mishra <mishra.rah...@gmail.com>
Subject RepresentativePointsDriver numIterations
Date Thu, 01 Nov 2012 14:43:00 GMT
Hello Friends,

Whats the heuristic for providing what number of iterations for
RepresentativePointsDriver?

I have run kmeans and fuzzy-kmeans algorithm on a dataset of size 500MB.
Now, how do I obtain cluster quality?

Does the following look Okay? :
RepresentativePointsDriver.run(conf, new Path(clustersIn), new
Path(clusteredPointsIn), new Path(outputDir), new
EuclideanDistanceMeasure(), numIterations, runSequential);
double interDis = clusterEval.interClusterDensity();
double intraDis = clusterEval.intraClusterDensity();
System.out.println("cluster evaluator: The inter distance: "+interDis);
System.out.println("cluster evaluator: The intra distance: "+intraDis);



-- 
Regards,
Rahul K Mishra,
https://sites.google.com/site/reachrahulkmishra/

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message