When using the kmeans function for clustering, the default algorithm is Lloyd's if no algorithm is specified. However, the clustering operation is slow. After consulting information, it is found that when dealing with large amounts of GIS data, the Hartigan-Wong algorithm is faster and more robust when the method is selected. Compared with the default Lloyd's algorithm, there is no significant difference in the clustering results obtained. Therefore, the Hartigan-Wong algorithm is chosen for the algorithm.

翻译在使用kmeans函数聚类时在不指定算法的时候默认算法为Lloyds但是聚类运算速度较慢 查阅资料得知在处理数据量较大的Gis数据时method选用Hartigan-Wong算法运算更快且更稳健对比默认的Lloyds算法得到的聚类结果没有明显的差异因此算法选用的是Hartigan-Wong

原文地址: https://www.cveoy.top/t/topic/ExP 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录