[数据挖掘][Python]k-means k均值算法的Python3实现
总共5个方法
def cal_dist(core: tuple, dot: tuple):
pass
def cal_cluster(dot: tuple, cores: list):
pass
def init_cores(row_data: list, k: int):
pass
def put_dot_into_clusters(row_data: list, k: ...
原创
2018-10-24 13:50:30 ·
587 阅读 ·
0 评论