| nmfkc.net.rank | R Documentation |
Fits nmfkc.net across a range of ranks and reports the
three rank-selection criteria – r.squared, the effective rank
(utilization), and the element-wise CV error sigma.ecv – with
the same concise diagnostics plot as nmfkc.rank.
nmfkc.net.rank(
Y,
rank = 1:5,
type = c("tri", "bi", "signed"),
detail = c("full", "fast"),
plot = TRUE,
...
)
Y |
Symmetric (network) observation matrix. |
rank |
Integer vector of ranks to evaluate. |
type |
One of |
detail |
|
plot |
Logical; draw the diagnostics plot (default |
... |
Passed on to |
A list with rank.best (ECV minimum, or the R-squared
elbow under detail = "fast") and criteria (data
frame: rank, effective.rank, effective.rank.ratio,
r.squared, sigma.ecv).
Roy, O., & Vetterli, M. (2007). The effective rank: A measure of
effective dimensionality. Proc. EUSIPCO, 606–610.
(effective.rank)
Wold, S. (1978). Cross-validatory estimation of the number of
components in factor and principal components models.
Technometrics, 20(4), 397–405. (sigma.ecv)
nmfkc.net, nmfkc.net.ecv,
nmfkc.rank
Y <- matrix(c(0,1,1,0,0,0, 1,0,1,0,0,0, 1,1,0,1,0,0,
0,0,1,0,1,1, 0,0,0,1,0,1, 0,0,0,1,1,0), 6, 6)
nmfkc.net.rank(Y, rank = 1:3, type = "tri", nstart = 5, nfolds = 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.