powered by
`KTA()` computes the alignment between a kernel matrix and a target variable.
KTA(K, y)
Alignment value.
A kernel matrix (class: "matrix").
The target variable. A factor with two levels.
K1 <- RBF(iris[1:100,1:4],g=0.1) y <- factor(iris[1:100,5]) KTA(K1,y)
Run the code above in your browser using DataLab