cpp.fit.coord.sgd | R Documentation |
Fit a GMF model using the adaptive SGD with coordinate-wise minibatch subsampling algorithm
cpp.fit.coord.sgd(
Y,
X,
B,
A,
Z,
U,
V,
O,
W,
familyname,
linkname,
varfname,
ncomp,
lambda,
maxiter = 1000L,
eps = 0.01,
nafill = 10L,
tol = 1e-08,
size1 = 100L,
size2 = 100L,
burn = 0.75,
rate0 = 0.01,
decay = 0.01,
damping = 0.001,
rate1 = 0.95,
rate2 = 0.99,
parallel = FALSE,
nthreads = 1L,
verbose = TRUE,
frequency = 250L,
progress = FALSE
)
Y |
matrix of responses ( |
X |
matrix of row fixed effects ( |
B |
initial row-effect matrix ( |
A |
initial column-effect matrix ( |
Z |
matrix of column fixed effects ( |
U |
initial factor matrix ( |
V |
initial loading matrix ( |
O |
matrix of constant offset ( |
W |
matrix of constant weights ( |
familyname |
a |
linkname |
a |
varfname |
variance function name |
ncomp |
rank of the latent matrix factorization |
lambda |
penalization parameters |
maxiter |
maximum number of iterations |
eps |
shrinkage factor for extreme predictions |
nafill |
how often the missing values are updated |
tol |
tolerance threshold for the stopping criterion |
size1 |
row-minibatch dimension |
size2 |
column-minibatch dimension |
burn |
burn-in period in which the learning late is not decreased |
rate0 |
initial learning rate |
decay |
decay rate of the learning rate |
damping |
diagonal dumping factor for the Hessian matrix |
rate1 |
decay rate of the first moment estimate of the gradient |
rate2 |
decay rate of the second moment estimate of the gradient |
parallel |
if |
nthreads |
number of cores to be used in parallel |
verbose |
if |
frequency |
how often the optimization status is printed |
progress |
if |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.