cndkernels-class: Class "cndkernel" "nonlkernel" "polykernel" "rbfkernel"...

Description Objects from the Class Slots Methods Author(s) See Also Examples

Description

The built-in kernel classes in qkerntool

Objects from the Class

Objects can be created by calls of the form new("nonlkernel"), new{"polykernel"}, new{"rbfkernel"}, new{"laplkernel"}, new{"anokernel"}, new{"ratikernel"}, new{"multkernel"}, new{"invkernel"}, new{"wavkernel"}, new{"powkernel"}, new{"logkernel"}, new{"caukernel"}, new{"chikernel"}, new{"studkernel"},new{"norkernel"}

or by calling the nonlcnd,polycnd, rbfcnd, laplcnd, anocnd, raticnd, multcnd, invcnd, wavcnd, powcnd, logcnd, caucnd, chicnd, studcnd, norcnd functions etc..

Slots

.Data:

Object of class "function" containing the kernel function

qpar:

Object of class "list" containing the kernel parameters

Methods

cndkernmatrix

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

Author(s)

Yusen Zhang
yusenzhang@126.com

See Also

qkernmatrix,cndkernmatrix

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
cndkfunc <- rbfcnd(gamma = 1)
cndkfunc

qpar(cndkfunc)

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


cndkfunc(x,y)

qkerntool documentation built on May 2, 2019, 6:11 a.m.