Description Usage Arguments Value Note Author(s) See Also Examples
View source: R/checkConvergence.glmnet.R
Check whether convergence has occurred in the zeroness of coefficients
1 2 3 4 5 | checkConvergence.glmnet(coefs, minIt, maxIt, burnIn = 0,
verbosity = 0)
convergenceCheckCreator(minIt=20, maxIt=30, burnIn=0,
basicCheckFunction=checkConvergence.glmnet)
|
coefs |
(sparse) matrix of coefficients (cols=variables, rows=iterations) |
minIt |
minimum number of iterations before convergence is possible |
maxIt |
maximum number of iterations before convergence is automatically assumed |
burnIn |
number of iterations that will be skipped for convergence checking |
verbosity |
The higher this value, the more levels of progress and debug information is displayed (note: in R for Windows, turn off buffered output) |
basicCheckFunction |
function (like
|
a list holding items:
converged
:
a single logical (TRUE
if convergence has happened
or maxIt passed)
minIt
: as passed in
maxIt
: as passed in
burnIn
: as passed
in
iterCount
: number of iterations that have
already occurred
usedFunction
: characters,
holding "checkConvergence.glmnet"
the result of basicCheckFunction
the first row (initial estimates) and column (intercept) are skipped in the checks
Nick Sabbe nick.sabbe@ugent.be
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.