critMNCut: Multiple Normalized Cut

Description Usage Arguments Details Value Examples

View source: R/codeSSSC.R

Description

Calculate the Multiple Normalized Cut value from a similarity matrix.

Usage

1
critMNCut(sim, label)

Arguments

sim

similarity matrix.

label

vector of labels.

Details

critMNCut returns the Multiple Normalized Cut value

Value

MNCut Multiple Normalized Cut value.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
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)

RclusTool documentation built on Feb. 4, 2020, 5:08 p.m.