【问题标题】:K nearest neighbors in Mathcad - what functions I can use?Mathcad 中的 K 个最近邻 - 我可以使用哪些函数? 【发布时间】:2017-09-26 14:15:27 【问题描述】: 我在 M. Nixon 的书中找到了 k 个最近邻的 Mathcad 实现,但“距离”和“坐标”函数不起作用。我该如何解决? mathcad implementation 【问题讨论】: 标签: knn mathcad 【解决方案1】: coord 返回dist 中最小值的位置。这个函数可能是这样的 distance - 嗯,我觉得这里有问题 因为应该是这样的 或test 和i 元素与data 之间的其他距离 【讨论】: