powered by
It is equivalent to compute `K` over centered data (i.e. the mean of each column is subtracted) in Feature Space.
centerK(K)
Centered `K` (class "matrix").
Kernel matrix (class "matrix").
dat <- matrix(rnorm(250),ncol=50,nrow=5) K <- Linear(dat) centerK(K)
Run the code above in your browser using DataLab