| KernelParameter | R Documentation |
KernelParameter contains all information and behaviour related to a kernel parameters.
valueThe hyperparameter mean's prior value or its constant value
is_fixedSays if the kernel parameter is fixed or not (if fixed, there is no sampling)
lower_boundThe hyperparameter's minimal value during sampling
upper_boundThe hyperparameter's maximal value during sampling
slice_sampling_scaleThe sampling range's amplitude
hparam_precisionPrecision of the hyperparameter
kernelThe kernel associated with the parameter (it is set at kernel instanciation)
nameThe kernel parameter's name
full_nameThe kernel parameter's full name
new()Create a new KernelParameter object.
KernelParameter$new( value, is_fixed = FALSE, lower_bound = DEFAULT_LBOUND, upper_bound = DEFAULT_UBOUND, slice_sampling_scale = log(10), hparam_precision = 1 )
valueNumeric: The hyperparameter mean's prior value (Paper - \phi) or its constant value
is_fixedBoolean: Says if the kernel parameter is fixed or not (if fixed, there is no sampling)
lower_boundNumeric: Hyperparameter's minimal value during sampling (Paper - \phi_{min})
upper_boundNumeric: Hyperparameter's maximal value during sampling (Paper - \phi_{max})
slice_sampling_scaleNumeric: The sampling range's amplitude (Paper - \rho)
hparam_precisionNumeric: The hyperparameter's precision
A new KernelParameter object.
set_kernel()Set Kernel for a given KernelParameter object.
KernelParameter$set_kernel(kernel, param_name)
kernelKernel: The kernel to associate with the parameter
param_nameString: The parameter's name
NULL, set a new kernel for the parameter
clone()The objects of this class are cloneable with this method.
KernelParameter$clone(deep = FALSE)
deepWhether to make a deep clone.
# A kernel parameter can be a constant value
const_param <- KernelParameter$new(7, is_fixed = TRUE)
# It can otherwise be sampled and have its value updated through sampling
samp_param <- KernelParameter$new(1, lower_bound = 0.1,
upper_bound = 10, slice_sampling_scale = 4)
# A kernel parameter can be associated with any type of kernel
KernelPeriodic$new(period_length = const_param, lengthscale = samp_param)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.