return kmeans(data, metric, k, maxIter);
}
public IClustering kmeans(IDataInput data, IMetric<IDoubleArray> metric, int k, int maxIter)
{
KMeansClustering clustering = new KMeansClustering();
kmeans(clustering, data, metric, k, maxIter);
return (clustering);
}