View source: R/Para_gamboostLSS.R
ppd_gamboostlss | R Documentation |
gamlss
-type semi-parametric modelsThis function is a wrapper for the function gamboostLSS
, which
fits semi-parametric regression models for predictive distributions with up to
four parameters (location, scale, shape1, shape2) via gradient boosting.
ppd_gamboostlss(
data,
formula,
cv_folds = NULL,
family = gamboostLSS::GaussianLSS(),
cores = 1,
pckgs = NULL,
save_models_path = NULL,
...
)
data |
A |
formula |
A formula or named list of formulas
for the location, scale, shape etc..(see |
cv_folds |
Control for cross-validation if not supplied in |
family |
A gamboosLSS family object, which is used to define the distribution and the link functions of the various parameters. |
cores |
the number of available cores. Defaults to one, i.e. no parallelisation, although in this case the user
must still specify |
pckgs |
specify additional packages required for each worker (e.g. c("data.table") if data stored as such). |
save_models_path |
Path to save models. Model details and file extension pasted onto this string. |
... |
additional arguments passed to |
A list of gamboostlss
objects. Each list element
corresponds to a cross-validation fold and contains a gamlss
model
trained on all other folds.
Ciaran Gilbert, ciaran.gilbert@strath.ac.uk
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.