K-means algorithm
input:
- K (number of clusters)
- Training set \((x^{(1)},x^{(1)},…,x^{(1)})\)
\(x^{(i)} \in R^n(drop x_0=1 convention)\)

Optimization Objective


Random initialization

choose the number of clusters

MachineLearning MLbyAndrewNg ML clustering
本博客所有文章除特别声明外,均采用 CC BY-SA 3.0协议 。转载请注明出处!