View source: R/stopping_criteria.R
stopping.default | R Documentation |
A function to halt computation when curcost < tol
## Default S3 method:
stopping(cost, curcost, count, tol, ...)
cost |
the value of the loss function passed in |
curcost |
current measure of cost, can be different to the parameter 'cost' above e.g. may consider smoothed cost over the last k iterations |
count |
iteration count |
tol |
tolerance, or limit |
... |
additional arguments |
...
stopping.maxit
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.