KMeans使用剪影分析返回最佳K的聚类包
KMeansKTran的Python项目详细描述
KMeansKTran公司
利用剪影分析方法对K均值聚类包进行最佳K值搜索
要运行脚本,请使用run\KMeans()方法。在
run\KMeans的参数(文件名,输出)
文件名:列表
List of strings to designate text filenames or file locations with filenames
Example: ["C:\Folder\File1.txt"]
output:字符串
String to designate location of output text file with filename
Example: "C:\Folder\output.txt"
示例
fromKMeans_KTranimportkmeanskmeans.run_KMeans(["C:\\Folder\\File1.txt"],"C:\\Folder\\output.txt")
- 项目
标签: