SVC_mle_control | R Documentation |
SVC_mle
Function to set up control parameters for SVC_mle
.
In the following, we assume the GP-based SVC model to have q GPs which
model the SVCs and p fixed effects.
SVC_mle_control(...) ## Default S3 method: SVC_mle_control( cov.name = c("exp", "sph", "mat32", "mat52", "wend1", "wend2"), tapering = NULL, parallel = NULL, init = NULL, lower = NULL, upper = NULL, save.fitted = TRUE, profileLik = FALSE, mean.est = c("GLS", "OLS"), pc.prior = NULL, extract_fun = FALSE, hessian = TRUE, dist = list(method = "euclidean"), parscale = TRUE, ... ) ## S3 method for class 'SVC_mle' SVC_mle_control(object, ...)
... |
Further Arguments yet to be implemented |
cov.name |
( |
tapering |
( |
parallel |
( |
init |
( |
lower |
( |
upper |
( |
save.fitted |
( |
profileLik |
( |
mean.est |
( |
pc.prior |
( |
extract_fun |
( |
hessian |
( |
dist |
( |
parscale |
( |
object |
( |
If not provided, the initial values as well as the lower and upper
bounds are calculated given the provided data. In particular, we require
the median distance between observations, the variance of the response and,
the ordinary least square (OLS) estimates, see init_bounds_optim
.
The argument extract_fun
is useful, when one wants to modify
the objective function. Further, when trying to parallelize the
optimization, it is useful to check whether a single evaluation of the
objective function takes longer than 0.05 seconds to evaluate,
cf. Gerber and Furrer (2019) doi: 10.32614/RJ-2019-030. Platform specific
issues can be sorted out by the user by setting up their own optimization.
A list with which SVC_mle
can be controlled.
Jakob Dambon
SVC_mle
control <- SVC_mle_control(init = rep(0.3, 10)) # or control <- SVC_mle_control() control$init <- rep(0.3, 10) # Code for setting up parallel computing require(parallel) # exchange number of nodes (1) for detectCores()-1 or appropriate number cl <- makeCluster(1, setup_strategy = "sequential") clusterEvalQ( cl = cl, { library(spam) library(varycoef) }) # use this list for parallel argument in SVC_mle_control parallel.control <- list(cl = cl, forward = TRUE, loginfo = TRUE) # SVC_mle goes here ... # DO NOT FORGET TO STOP THE CLUSTER! stopCluster(cl); rm(cl)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.