set.control.newton | R Documentation |
Check if the input control parameters of the quasi-Newton algorithm are allowed and set them to default values if they are not. Returns a list of well-defined control parameters.
set.control.newton(
normalize = TRUE,
maxiter = 500,
stepsize = 0.01,
eps = 1e-08,
nafill = 1,
tol = 1e-05,
damping = 0.001,
verbose = FALSE,
frequency = 50,
parallel = FALSE,
nthreads = 1
)
normalize |
if |
maxiter |
maximum number of iterations |
stepsize |
step-size parameter scaling each IRWLS step |
eps |
how much shrinkage has to be introduced on extreme predictions lying outside of the data range |
nafill |
how frequently the |
tol |
tolerance threshold for the stopping criterion |
damping |
regularization parameter which is added to the Hessian to ensure numerical stability |
verbose |
if |
frequency |
how often the optimization status is printed (only if |
parallel |
if |
nthreads |
number of cores to be used in parallel (only if |
A list
of control parameters for the quasi-Newton algorithm
library(sgdGMF)
# Empty call
set.control.newton()
# Parametrized call
set.control.newton(maxiter = 1000, stepsize = 0.01, tol = 1e-04)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.