set.control.init | R Documentation |
Check if the input initialization parameters are allowed and set them to default
values if they are not. Returns a list of well-defined options which specify how
to initialize a GMF model. See sgdgmf.init
for more details upon the methods used for initialisation.
set.control.init(
method = c("ols", "glm", "random", "values"),
type = c("deviance", "pearson", "working", "link"),
values = list(),
niter = 5,
normalize = TRUE,
verbose = FALSE,
parallel = FALSE,
nthreads = 1
)
method |
initialization method (see |
type |
residual type to be decomposed (see |
values |
list of custom initialization parameters fixed by the user |
niter |
number if refinement iterations in the |
normalize |
if |
verbose |
if |
parallel |
if |
nthreads |
number of cores to be used in the |
A list
of control parameters for the initialization
set.control.alg
, set.control.cv
, sgdgmf.init
library(sgdGMF)
# Empty call
set.control.init()
# Parametrized call
set.control.init(method = "glm", type = "deviance", niter = 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.