<p><code>1_{c^(i) = j}</code> means if <code>c^(i)</code> is equal to <code>j</code> the value is 1 and zero otherwise. </p>

<p>In summary, k-means try to solve Voronoi cells for each mean point, and then update mean of members of a cell and update Voronoi cells again. This step is repeated until there is no change in members of the cells.</p>

CC BY-SA 3.0
2017-12-23T03:49:03.863Z
Is `mu(j)` a vector? 
I am confused about `I` and `j`. what do counter these 2 letters?
user3486308
CC BY-SA 3.0
2017-12-23T10:51:57.313Z
@user8663682 `mu(j)` is mean of members of the cluster `j` at each step, and `c^(i)` is index of the cluster which is assigned to the point of `x_i`.
OmG
CC BY-SA 3.0
2017-12-22T19:40:24.343Z
2017-12-22T19:40:24.343Z
OmG
<p>I can't understand the red box. what do does that <code>1</code> do before <code>{c(I)=j}</code> ?
Also how does all the algorithms work? May someone explains the to steps more clearly by one example!</p>

<p><a href="https://i.sstatic.net/ylp04.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/ylp04.png" alt="enter image description here"></a></p>

<algorithm><unsupervised-learning>
How does this part of algorithm works?(K-means)
user3486308
# How does this part of algorithm works?(K-means)

(Asked by: username_0 on 2017-12-22)

I can't understand the red box. what do does that `1` do before `{c(I)=j}` ?
Also how does all the algorithms work? May someone explains the to steps more clearly by one example!

[![enter image description here](https://i.sstatic.net/ylp04.png)](https://i.sstatic.net/ylp04.png)

**Tags:** algorithm, unsupervised-learning


---

## 1 answers

### Answer by username_1 on 2017-12-22. Score: 0 | Accepted answer

`1_{c^(i) = j}` means if `c^(i)` is equal to `j` the value is 1 and zero otherwise.

In summary, k-means try to solve Voronoi cells for each mean point, and then update mean of members of a cell and update Voronoi cells again. This step is repeated until there is no change in members of the cells.

> **Comments:**
> **username_0**: Is `mu(j)` a vector?  I am confused about `I` and `j`. what do counter these 2 letters?  
> **username_1**: @user8663682 `mu(j)` is mean of members of the cluster `j` at each step, and `c^(i)` is index of the cluster which is assigned to the point of `x_i`.  

---

