KTA {kerntools} | R Documentation |
'KTA()' computes the alignment between a kernel matrix and a target variable.
KTA(K, y)
K |
A kernel matrix (class: "matrix"). |
y |
The target variable. A numeric vector or a factor with two levels. |
Alignment value.
K1 <- RBF(iris[1:100,1:4],g=0.1)
y <- factor(iris[1:100,5])
KTA(K1,y)