Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 WEKA 中使用了 SimpleKmeans 类,所以我也做集群实例。但是我在获取异常实例时遇到了问题。
我想,这个类中的每个集群都有一个中心(或质心)和一个半径,所以我可以通过检查所有集群的圆及其质心和半径来找到异常值。虽然我找不到任何获得集群半径的变量或函数。
现在,您知道在 WEKA 的 SimpleKmeans 类中查找异常值的任何其他方法吗?或者任何显示每个集群半径的变量?
我在 SimpleKmeans 类中找不到任何半径变量,但是我使用了替代解决方案。
聚类找到具有最小欧几里得距离(或曼哈顿,..)的最佳聚类,因此如果最近的聚类大于特定阈值,它将是异常值实例。