cndkernel-class {qkerntool} | R Documentation |
Class "cndkernel" "nonlkernel" "polykernel" "rbfkernel" "laplkernel"
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 functionqpar
: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
Examples
cndkfunc <- rbfcnd(gamma = 1)
cndkfunc
qpar(cndkfunc)
## create two vectors
x <- rnorm(10)
y <- rnorm(10)
cndkfunc(x,y)
[Package qkerntool version 1.19 Index]