Fit a GMF model using the adaptive SGD with block-wise minibatch subsampling
cpp.fit.random.block.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
)
matrix of responses (\(n \times m\))
matrix of row fixed effects (\(n \times p\))
initial row-effect matrix (\(n \times p\))
initial column-effect matrix (\(n \times q\))
matrix of column fixed effects (\(m \times q\))
initial factor matrix (\(n \times d\))
initial loading matrix (\(m \times d\))
matrix of constant offset (\(n \times m\))
matrix of constant weights (\(n \times m\))
a glm
model family name
a glm
link function name
variance function name
rank of the latent matrix factorization
penalization parameters
maximum number of iterations
shrinkage factor for extreme predictions
how often the missing values are updated
tolerance threshold for the stopping criterion
row-minibatch dimension
column-minibatch dimension
burn-in period in which the learning late is not decreased
initial learning rate
decay rate of the learning rate
diagonal dumping factor for the Hessian matrix
decay rate of the first moment estimate of the gradient
decay rate of the second moment estimate of the gradient
if TRUE
, allows for parallel computing
number of cores to be used in parallel
if TRUE
, print the optimization status
how often the optimization status is printed
if TRUE
, print an progress bar