DistanceMeasure measure :数据点间的距离计算方法,参数可缺,默认是 SquaredEuclidean 算方法
提供参数值:
ChebyshevDistanceMeasure 切比雪夫距离
CosineDistanceMeasure 余弦距离
EuclideanDistanceMeasure 欧氏距离
MahalanobisDistanceMeasure 马氏距离
ManhattanDistanceMeasure 曼哈顿距离
MinkowskiDistanceMeasure 闵可夫斯基距离
SquaredEuclideanDistanceMeasure 欧氏距离 ( 不采取平方根 )
TanimotoDistanceMeasure Tanimoto 系数距离
还有一些基于权重的距离计算方法:
WeightedDistanceMeasure
WeightedEuclideanDistanceMeasure
WeightedManhattanDistanceMeasure