cndkernel-class {qkerntool} | R Documentation |
The built-in kernel classes in qkerntool
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..
.Data
:Object of class "function"
containing
the kernel function
qpar
:Object of class "list"
containing the
kernel parameters
signature(kernel = "rbfkernel", x ="matrix")
: computes the kernel matrix
Yusen Zhang
yusenzhang@126.com
cndkfunc <- rbfcnd(gamma = 1)
cndkfunc
qpar(cndkfunc)
## create two vectors
x <- rnorm(10)
y <- rnorm(10)
cndkfunc(x,y)