R/FunctionsTree.R
Meila.Rd
Computing the M matrix
Meila(W)
Squared weight matrix
M matrix as defined in Meila et al. 2006
W = matrix(c(1,1,3,1,1,1,3,1,1),3,3,byrow=TRUE) Meila(W) #> [,1] [,2] [,3] #> [1,] 0.0000000 0.5714286 0.2857143 #> [2,] 0.5714286 0.0000000 0.5714286 #> [3,] 0.2857143 0.5714286 0.0000000