Description Usage Arguments Value References Examples
View source: R/StandardizeKernel.R
StandardizeKernel
is used to standardize kernel matrices obtained from multiple views so that the views are comparable to each other. A kernel matrix x
is centered and then scaled by dividing by its trace.
1 | StandardizeKernel(x, center = TRUE, scale = TRUE)
|
x |
A kernel matrix to be standardized. |
center |
Logical. If |
scale |
Logical. If |
This function returns the standardized kernel matrix. If both arguments center
and scale
are TRUE
, the kernel matrix will be centered first and then scaled.
scholkopf1998nonlinearMKKC
\insertRefbang2018mkkcMKKC
1 2 3 4 | x <- diag(3); x
StandardizeKernel(x, center = TRUE, scale = FALSE) # centered
StandardizeKernel(x, center = FALSE, scale = TRUE) # scaled
StandardizeKernel(x, center = TRUE, scale = TRUE) # centered and scaled
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.