return densitybased(data, new EuclideanDistance(), dmin, minpts);
}
public IClustering densitybased(IDataSequence data, IMetric<IDoubleArray> metric, int N)
{
DensityBasedClusteringSimpleN clustering = new DensityBasedClusteringSimpleN(N);
clustering.setMetric(metric);
clustering.setInput(data);
return (clustering);
}