KTA: Kernel-target alignment

View source: R/kernel_study.R

KTAR 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 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)

kerntools documentation built on April 3, 2025, 7:52 p.m.