Description Usage Arguments Details

View source: R/fm_solver_control.R

Auxiliary functions for optimization routines

1 | ```
solver.control(max_iter = 10000, convergence = 1e-4, evaluate.metric = "LL", solver = TDAP.solver())
``` |

`max_iter` |
integer giving maximal number of iterations, 25 for MCMC/ALS and 10000 for other optimization routines by default |

`solver` |
function to set parameters of optimization routine |

SGD/FTRL/TDAP updates model every single example, while MCMC/ALS needs to sweeps through all the data for each update. So the maximal number of iterations of MCMC/ALS is much smaller, which is 25 by default.

By now, only MCMC and ALS support parallel computing.

**solver** is a function to set parameters of optimization routine further, including ALS.solver
MCMC.solver SGD.solver TDAP.solver FTRL.solver

evanwang1990/FMwR documentation built on May 13, 2017, 10:03 p.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.