Learn R Programming

qkerntool (version 1.19)

cndkernel-class: Class "cndkernel" "nonlkernel" "polykernel" "rbfkernel" "laplkernel"

Description

The built-in kernel classes in qkerntool

Arguments

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

See Also

qkernmatrix,cndkernmatrix

Examples

Run this code
# NOT RUN {
cndkfunc <- rbfcnd(gamma = 1)
cndkfunc

qpar(cndkfunc)

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


cndkfunc(x,y)
# }

Run the code above in your browser using DataLab