摘要: 读了博客园的一篇文章受到启发,写了一个K均值的python实现,代码如下:import randomfrom math import sqrtsample=[ [1,1,0.5], [0.3,0,0.19], [0,0.15,0.13], [0.24,0.76,0.25], ... 阅读全文
posted @ 2013-04-05 16:49 爱知菜 阅读(212) 评论(0) 推荐(0) 编辑