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