# How to set weight in Weighted Kernel K-Means?

The objective function of kernel K-means is

$$\sum\limits_{c=1}^k \sum\nolimits_{a_i \in c} w_i \Vert \phi(a_i)- m_c \Vert^2 \$$

where

$$m_c = \frac{\sum\nolimits_{a_i \in c }w_i\phi(a_i)}{\sum\nolimits_{a_i \in c }w_i}$$ I need to know how to determine wi

• If possible, it would be better if you can rewrite the Obj. func. in Latex :) [I don't know Latex, so couldn't make the edit] – Dawny33 Jan 11 '16 at 10:41