critMNCut | R Documentation |
Calculate the Multiple Normalized Cut value from a similarity matrix.
critMNCut(sim, label)
sim |
similarity matrix. |
label |
vector of labels. |
critMNCut returns the Multiple Normalized Cut value
MNCut Multiple Normalized Cut value.
dat <- rbind(matrix(rnorm(100, mean = 0, sd = 0.3), ncol = 2),
matrix(rnorm(100, mean = 2, sd = 0.3), ncol = 2),
matrix(rnorm(100, mean = 4, sd = 0.3), ncol = 2))
sim <- computeGaussianSimilarity(dat, 1)
ML <- list(c("10","20"), c("60","70"))
CNL <- list(c("30","80"), c("90","120"))
res <- KwaySSSC(sim, K=0, list.ML=ML, list.CNL=CNL)
critMNCut(sim, res$label)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.