Description Usage Arguments Value
function to reproduce the behavior of eye function in matlab
| 1 | generate_centers(X, W, P, param.gamma)
 | 
| X | input data | 
| W | the pricipal graph matrix | 
| P | the cluster assignment matrix | 
| param.gamma | regularization parameter for k-means (the prefix of 'param' is used to avoid name collision with gamma) | 
A matrix C for the centers for principal graph
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.