KTA {kerntools}R Documentation

Kernel-target alignment

Description

'KTA()' computes the alignment between a kernel matrix and a target variable.

Usage

KTA(K, y)

Arguments

K

A kernel matrix (class: "matrix").

y

The target variable. A numeric vector or a factor with two levels.

Value

Alignment value.

Examples

K1 <- RBF(iris[1:100,1:4],g=0.1)
y <- factor(iris[1:100,5])
KTA(K1,y)

[Package kerntools version 1.0.2 Index]