Fit a GMF model using the AIRWLS algorithm
cpp.fit.airwls(
Y,
X,
B,
A,
Z,
U,
V,
O,
W,
familyname,
linkname,
varfname,
ncomp,
lambda,
maxiter = 500L,
nsteps = 1L,
stepsize = 0.1,
eps = 1e-08,
nafill = 1L,
tol = 1e-05,
damping = 0.001,
verbose = TRUE,
frequency = 10L,
parallel = FALSE,
nthreads = 1L
)
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
number of inner Fisher scoring iterations
stepsize of the inner Fisher scoring algorithm
shrinkage factor for extreme predictions
how often the missing values are updated
tolerance threshold for the stopping criterion
diagonal dumping factor for the Hessian matrix
if TRUE
, print the optimization status
how often the optimization status is printed
if TRUE
, allows for parallel computing
number of cores to be used in parallel