城市-kmeans应用程序
作者:菲利普·塞恩(Phillip Thain)电子邮件: 日期: 参考文献:Purdue CS37300(数据挖掘和机器学习)课程材料
描述:一种算法,将根据其位置生成一组K个城市集群。
用法和要求
要使用此程序,请执行以下操作:导航至“ cities-kmeans / src”,然后使用python2.7运行“ main.py”。
-Usage: 'python main.py [path_to_file] [size of k]'
参数:
- 'path to file':
Path to an .xlsx file with atleast two columns titled 'Latitude' and 'Longitude'.
- 'size of k':
K is the number of clusters you wou