Paritosh Ranjan
added a comment - 17/Mar/12 04:25 Refactored clustering out of DirichletDriver using ClusterClassificationDriver. Dirichlet was already having a threshold option. So, the issue has been developed completely now.
Resolving the issue.

Integrated in Mahout-Quality #1397 (See https://builds.apache.org/job/Mahout-Quality/1397/)MAHOUT-981, MAHOUT-983. Refactored K-Means Clustering and Dirichlet Clustering to use ClusterClassificationDriver.
Using cluster.getModel().configure() in ClusterClassificationDriver in order to configure DirichletCluster for MahalanobisDistanceMeasure.
Added/fixed test cases by:
Using separate directories in test cases for supplying initial clusters and to store buildClusters to prevent two cluster-*-final files in the same directory.
Writing IntWritable in test cases instead of LongWritable ( As the ClusterClassificationDriver clusters records with IntWritable keys). (Revision 1301654)