Rational Quadratic Kernel R6 class
Rational Quadratic Kernel R6 class
Usage
k_RatQuad(
beta,
alpha = 1,
s2 = 1,
D,
beta_lower = -8,
beta_upper = 6,
beta_est = TRUE,
alpha_lower = 1e-08,
alpha_upper = 100,
alpha_est = TRUE,
s2_lower = 1e-08,
s2_upper = 1e+08,
s2_est = TRUE,
useC = TRUE
)Format
R6Class object.
Arguments
- beta
Initial beta value
- alpha
Initial alpha value
- s2
Initial variance
- D
Number of input dimensions of data
- beta_lower
Lower bound for beta
- beta_upper
Upper bound for beta
- beta_est
Should beta be estimated?
- alpha_lower
Lower bound for alpha
- alpha_upper
Upper bound for alpha
- alpha_est
Should alpha be estimated?
- s2_lower
Lower bound for s2
- s2_upper
Upper bound for s2
- s2_est
Should s2 be estimated?
- useC
Should C code used? Much faster if implemented.
Value
Object of R6Class with methods for fitting GP model.
Super classes
GauPro::GauPro_kernel -> GauPro::GauPro_kernel_beta -> GauPro_kernel_RatQuad
Public fields
alphaalpha value (the exponent). Between 0 and 2.
logalphaLog of alpha
logalpha_lowerLower bound for log of alpha
logalpha_upperUpper bound for log of alpha
alpha_estShould alpha be estimated?
Methods
Method new()
Initialize kernel object
Usage
RatQuad$new(
beta,
alpha = 1,
s2 = 1,
D,
beta_lower = -8,
beta_upper = 6,
beta_est = TRUE,
alpha_lower = 1e-08,
alpha_upper = 100,
alpha_est = TRUE,
s2_lower = 1e-08,
s2_upper = 1e+08,
s2_est = TRUE,
useC = TRUE
)Arguments
betaInitial beta value
alphaInitial alpha value
s2Initial variance
DNumber of input dimensions of data
beta_lowerLower bound for beta
beta_upperUpper bound for beta
beta_estShould beta be estimated?
alpha_lowerLower bound for alpha
alpha_upperUpper bound for alpha
alpha_estShould alpha be estimated?
s2_lowerLower bound for s2
s2_upperUpper bound for s2
s2_estShould s2 be estimated?
useCShould C code used? Much faster if implemented.
Method k()
Calculate covariance between two points
Method param_optim_start()
Starting point for parameters for optimization
Method param_optim_start0()
Starting point for parameters for optimization
Method param_optim_lower()
Lower bounds of parameters for optimization
Method param_optim_upper()
Upper bounds of parameters for optimization
Method set_params_from_optim()
Set parameters from optimization output