robust_weights | R Documentation |
robust_weights
computes the robust weights given a data matrix X
,
a scale parameter zeta
and a parameter that controls the weights delta
.
Namely, the lth weight w[l]
is given by
w[l] = exp(-ζ{∑_{j\in D_{1}}(X_{i'j}-X_{ij})^2+∑_{j\in D_{2}}{δ}^2}) , where the lth pair of nodes is (\code{i},\code{i'}) and \code{D1={j:|X_{ij}-X_{i'j}|<delta}}, \code{D2={j:|X_{ij}-X_{i'j}|>delta}}.
robust_weights(X, delta, zeta)
X |
The data matrix to be clustered. The rows are observations, and the columns are features. |
delta |
The nonnegative parameter that controls the scale of robust weights when there is outlier(s) in the data. |
zeta |
The nonnegative parameter that controls the scale of robust weights. |
A vector wt of weights for robust convex clustering.
Chenyu Liu, Qiang Sun, Kean Ming Tan
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.