qkernel-class {qkerntool}R Documentation

Class "qkernel" "rbfqkernel" "nonlqkernel" "laplqkernel" "ratiqkernel"

Description

The built-in kernel classes in qkerntool

Objects from the Class

Objects can be created by calls of the form new("rbfqkernel"), new{"nonlqkernel"}, new{"laplqkernel"}, new{"ratiqkernel"}, new{"multqkernel"}, new{"invqkernel"}, new{"wavqkernel"}, new{"powqkernel"}, new{"logqkernel"}, new{"cauqkernel"}, new{"chiqkernel"}, new{"studqkernel"}

or by calling the rbfbase, nonlbase, laplbase, ratibase, multbase, invbase, wavbase, powbase, logbase, caubase, chibase, studbase functions etc..

Slots

.Data:

Object of class "function" containing the kernel function

qpar:

Object of class "list" containing the kernel parameters

Methods

qkernmatrix

signature(kernel = "rbfqkernel", x = "matrix"): computes the qkernel matrix

Author(s)

Yusen Zhang
yusenzhang@126.com

See Also

qkernmatrix,cndkernmatrix

Examples

qkfunc <- rbfbase(sigma=1,q=0.8)
qkfunc

qpar(qkfunc)

## create two vectors
x <- rnorm(10)
y <- rnorm(10)

## calculate dot product
qkfunc(x,y)


[Package qkerntool version 1.19 Index]