This a abstract class provide the kernel function and the 1st order derivative of rbf kernel function.
an R6Class object which can be used for the rkhs interpolation.
R6Class object.
kern(t1,t2)This method is used to calculate the kernel function given two one dimensional real inputs.
dkd_kpar(t1,t2)This method is used to calculate the gradient of kernel function against the kernel hyper parameters given two one dimensional real inputs.
dkdt(t1,t2)This method is used to calculate the 1st order derivative of kernel function given two one dimensional real inputs.
Mu Niu, mu.niu@glasgow.ac.uk
k_parvector(of length n_hy) containing the hyper-parameter of kernel. n_hy is the length of kernel hyper parameters.
new()Kernel$new(k_par = NULL)
greet()Kernel$greet()
kern()Kernel$kern(t1, t2)
dkd_kpar()Kernel$dkd_kpar(t1, t2)
dkdt()Kernel$dkdt(t1, t2)
clone()The objects of this class are cloneable with this method.
Kernel$clone(deep = FALSE)deepWhether to make a deep clone.