Last chance! 50% off unlimited learning
Sale ends in
The kernel generating functions provided in qkerntool.
The Non Linear Kernel
nonlcnd(alpha = 1)
polycnd(d = 2, alpha = 1, c = 1)
rbfcnd(gamma = 1)
laplcnd(gamma = 1)
anocnd(d = 2, sigma = 1)
raticnd(c = 1)
multcnd(c = 1)
invcnd(c = 1)
wavcnd(theta = 1)
powcnd(d = 2)
logcnd(d = 2)
caucnd(gamma = 1)
chicnd( )
studcnd(d = 2)
norcnd()
for the Non Linear cndkernel function "nonlcnd" and the Polynomial cndkernel function "polycnd".
for the Radial Basis cndkernel function "rbfcnd" and the Laplacian cndkernel function "laplcnd" and the Cauchy cndkernel function "caucnd".
for the ANOVA cndkernel function "anocnd".
for the Wave cndkernel function "wavcnd".
for the Rational Quadratic cndkernel function "raticnd", the Polynomial cndkernel function "polycnd", the Multiquadric cndkernel function "multcnd" and the Inverse Multiquadric cndkernel function "invcnd".
for the Polynomial cndkernel function "polycnd", the ANOVA cndkernel function "anocnd", the cndkernel function "powcnd", the Log cndkernel function "logcnd" and the Generalized T-Student cndkernel function "studcnd".
Return an S4 object of class cndkernel
which extents the
function
class. The resulting function implements the given
kernel calculating the kernel function value between two vectors.
a list containing the kernel parameters (hyperparameters) used.
The kernel generating functions are used to initialize a kernel
function which calculates the kernel function value between two feature vectors in a
Hilbert Space. These functions can be passed as a qkernel
argument on almost all
functions in qkerntool.
# NOT RUN {
cndkfunc <- rbfcnd(gamma = 1)
cndkfunc
qpar(cndkfunc)
## create two vectors
x <- rnorm(10)
y <- rnorm(10)
## calculate dot product
cndkfunc(x,y)
# }
Run the code above in your browser using DataLab