return (clustering);
}
public IClustering kcenter(IDataInput data, IMetric<IDoubleArray> metric, int k)
{
KCenterClustering clustering = new KCenterClustering();
clustering.setNumberOfClusters(k);
clustering.setMetric(metric);
clustering.setInput(data);
return (clustering);
}