摘要: 距离度量 需求:计算两点间的欧几里得距离、曼哈顿距离、切比雪夫距离、堪培拉距离 实现:利用commons.math3库相应函数 1 import org.apache.commons.math3.ml.distance.*; 2 3 public class TestMetrics { 4 publ 阅读全文
posted @ 2021-04-24 23:33 cxc1357 阅读(695) 评论(0) 推荐(0)