# issue: typo in K-Means++ Algorithm #195

Open
opened this Issue Dec 2, 2015 · 0 comments

None yet

### 1 participant

 In the algorithm for K-means++ in chapter 13 (currently line 189 of the source) it has \SETST{$\vec p$}{$\frac 1 {\sum_{\VARm{n}} \VARm{n_d}} \VARm{\vec d}$} to normalize to a probability distribution. I believe it is meant to be \SETST{$\vec p$}{$\frac 1 {\sum_{\VARm{n}} \VARm{d_n}} \VARm{\vec d}$} (i.e. you sum over all the distances).