cpp.fit.newton | R Documentation |
Fit a GMF model using the diagonal quasi-Newton algorithm
cpp.fit.newton(
Y,
X,
B,
A,
Z,
U,
V,
O,
W,
familyname,
linkname,
varfname,
ncomp,
lambda,
maxiter = 500L,
stepsize = 0.1,
eps = 1e-08,
nafill = 1L,
tol = 1e-05,
damping = 0.001,
verbose = TRUE,
frequency = 10L,
parallel = FALSE,
nthreads = 1L
)
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 |
stepsize |
stepsize of the quasi-Newton update |
eps |
shrinkage factor for extreme predictions |
nafill |
how often the missing values are updated |
tol |
tolerance threshold for the stopping criterion |
damping |
diagonal dumping factor for the Hessian matrix |
verbose |
if |
frequency |
how often the optimization status is printed |
parallel |
if |
nthreads |
number of cores to be used in parallel |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.