Description Usage Arguments Details Methods References See Also Examples
Define stopping criteria for functions that need a convergence check.
1 2 3 4 | setStoppingCriteria(autoConverge = FALSE,
deltaErrorThreshold = 1e-05, nrLoops = NULL, minNrLoops = 10)
showStoppingCriteria()
showDeltaError()
|
autoConverge |
class |
deltaErrorThreshold |
class |
nrLoops |
class |
minNrLoops |
class |
If autoConvergence = TRUE
tells the package to monitor the difference of global RMSE on two consecutive iterations, and to see if it drops below a threshold value. Whenever it drops under the specified value the iteration is considered converged. If FALSE
the limit of iterations is delimited by nrLoops
showStoppingCriteria
Print on console the current configuration of the convergence algorithm.
showDeltaError
Report the delta error on each iteration of the algorithm that requires an auto-convergence algorithm.
M. D. Ekstrand, M. Ludwig, J. Kolb, and J. T. Riedl, “LensKit: a modular recommender framework,”, Proc. fifth ACM Conf. Recomm. Syst. - RecSys ’11, p. 349, 2011.
See Also as rrecsys
, SVDclass
, wALSclass
, BPRclass
.
1 2 3 | setStoppingCriteria(autoConverge = TRUE)
setStoppingCriteria(nrLoops = 30)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.