You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
# 7.3:k-均值算法流程
|
|
|
|
|
|
`k-means`算法流程如下:
|
|
|
|
- 1.随机初始`k`个点,作为类别中心。
|
|
- 2.对每个样本将其标记为距离类别中心最近的类别。
|
|
- 3.将每个类别的质心更新为新的类别中心。
|
|
- 4.重复步骤`2、3`,直到类别中心的变换小于阈值。
|