elki DBSCAN的distanceFunction参数是什么?

时间:2019-02-13 17:31:44

标签: java image-processing cluster-analysis dbscan elki

DBSCAN<NumberVector> dbscan = new DBSCAN<NumberVector>(distanceFunction,0.5,10);
dbscan.run(db);

我应该在distanceFunction中输入什么

1 个答案:

答案 0 :(得分:0)

如果您想使用Euclidean distance,请使用

EuclideanDistanceFunction.STATIC

new EuclideanDistanceFunction()