Computing the M matrix

Meila(W)

Arguments

W

Squared weight matrix

Value

M matrix as defined in Meila et al. 2006

Examples

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