set.control.coord.sgd | R Documentation |
Check if the input control parameters are allowed and set them to default values if they are not. Returns a list of well-defined control parameters.
set.control.coord.sgd(
normalize = TRUE,
maxiter = 1000,
eps = 1e-08,
nafill = 10,
tol = 1e-08,
size = c(100, 100),
burn = 1,
rate0 = 0.01,
decay = 0.01,
damping = 0.001,
rate1 = 0.1,
rate2 = 0.01,
verbose = FALSE,
frequency = 250,
progress = FALSE
)
normalize |
if |
maxiter |
maximum number of iterations |
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 |
size |
mini-batch size, the first value is for row sub-sample, the second value is for column sub-sample |
burn |
percentage of iterations to ignore before performing Polyak averaging |
rate0 |
initial learning rate |
decay |
learning rate decay |
damping |
regularization parameter which is added to the Hessian to ensure numerical stability |
rate1 |
exponential decay rate for the moment estimate of the gradient |
rate2 |
exponential decay rate for the moment estimate of the Hessian |
verbose |
if |
frequency |
how often the optimization status is printed (only if |
progress |
if |
A list
of control parameters for the adaptive SGD algorithm with coordinate-wise sub-sampling
library(sgdGMF)
# Empty call
set.control.coord.sgd()
# Parametrized call
set.control.coord.sgd(maxiter = 2000, rate0 = 0.01, decay = 0.01)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.