K Means
- Codebook vectors. No manifolds.
- Given: (xi)i=1,..,N∈Rn
- Need : K clusters C1,…,CK
- Randomly assign training points to K sets : Sj(j=1,…,K)
- Repeat:
- For each set Sj
- Mean μj=∣Sj∣−1Σx∈Sjx
- Create new sets by putting points into set where ∣∣xi−μj∣∣ is minimal
- If empty, dismiss and reduce K to K’
- Error quantity does not increase
- Does not work for curved boundaries
Codebook Vector
- Each cluster represented by it
- Vector pointing to the mean of all vectors in the cluster
- Center of Gravity.md