calc_principal_graph | R Documentation |
Function to automatically learn the structure of data by either using L1-graph or the spanning-tree formulization
calc_principal_graph(
X,
C0,
maxiter = 10,
eps = 1e-05,
L1.gamma = 0.5,
L1.sigma = 0.01,
verbose = TRUE
)
X |
the input data DxN |
C0 |
the initialization of centroids |
maxiter |
maximum number of iteration |
eps |
relative objective difference |
L1.gamma |
regularization parameter for k-means (the prefix of 'param' is used to avoid name collision with gamma) |
L1.sigma |
bandwidth parameter |
verbose |
emit results from iteration |
a list of X, C, W, P, objs X is the input data C is the centers for principal graph W is the principal graph matrix P is the cluster assignment matrix objs is the objective value for the function
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.