参数 n_clusters:KMeans中的k,表示着我们告诉模型我们要分几类。 init & random_state & n_init:初始质心怎么放好 max_iter & tol:让迭代停下来 属性: 接口: (根据菜菜的机器学习sklearn课堂整理) 相关文章: