摘要: 本代码参考自: https://github.com/lawlite19/MachineLearning_Python/blob/master/K-Means/K-Menas.py 1. 初始化类中心,从样本中随机选取K个点作为初始的聚类中心点 2. 找出每个样本离哪一个类中心的距离最近,并返回 3 阅读全文
posted @ 2019-11-02 13:38 RamboBai 阅读(3690) 评论(0) 推荐(0) 编辑