K-Means Clustering:
Step 1: Choose the number of K

Step 2: Select centroids

Step 3: Assign each data to the closed centeroid point:

Step 4: Compute the new central point of each cluster:

Step 5:Resign the each point to closed new centroid point. If any reassignment happens ,go to step 4 ,otherwise go to Finish step

Finish Step: Algorithm ready!

本文详细介绍了K-Means聚类算法的工作流程,包括选择K值、选取质心、分配数据到最近的质心、计算新的质心位置以及重新分配数据点等步骤,直至算法收敛。
10万+

被折叠的 条评论
为什么被折叠?



