| Kernel | R Documentation |
Abstract base class for kernels (Should not be instantiated)
kernel_varianceThe variance of the kernel
jitter_valueThe jitter value to add to the kernel matrix
distance_matrixThe distance matrix between points in a tensor format
nameThe kernel's name
parametersThe parameters of the kernel (list of KernelParameter)
covariance_matrixThe covariance matrix of the kernel in a tensor format
positions_dfThe positions of the points in a dataframe format
has_dist_matrixIdentify if the kernel has a distance matrix or not
new()Kernel abstract base constructor
Kernel$new(kernel_variance, jitter_value)
kernel_varianceNumeric: The variance of the kernel
jitter_valueNumeric: The jitter value to add to the kernel matrix
A new Kernel object.
core_kernel_fn()Abstract method to compute the core kernel's covariance matrix
Kernel$core_kernel_fn()
add_jitter_to_kernel()Method to add jitter to the kernel's covariance matrix
Kernel$add_jitter_to_kernel()
kernel_gen()Method to compute the kernel's covariance matrix
Kernel$kernel_gen()
set_positions()Method to set the kernel's positions and compute the distance matrix
Kernel$set_positions(positions_df)
positions_dfDataframe: The positions of the points in a dataframe format
plot()Method to plot the kernel's covariance matrix
Kernel$plot(show_figure = TRUE)
show_figureBoolean: If TRUE, the figure is shown, otherwise it is returned
If show_figure is TRUE, the figure is shown, otherwise it is returned
clone()The objects of this class are cloneable with this method.
Kernel$clone(deep = FALSE)
deepWhether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.