View source: R/flash_conv_crit_fns.R
flash_conv_crit_elbo_diff | R Documentation |
The default objective function used to determine convergence when fitting
a flash
object. Calculates the difference in the
variational lower bound ("ELBO") from one iteration to the next.
flash_conv_crit_elbo_diff(curr, prev, k)
curr |
The |
prev |
The |
k |
Only used during sequential backfits (that is, calls to
|
This function is an example of a function that may be passed to
parameter fn
in function flash_set_conv_crit
to set
the convergence criterion for a flash pipeline. See
flash_set_conv_crit
for details and examples.
A scalar, which is compared against the tolerance parameter
tol
to determine whether a fit has converged.
flash_conv_crit_max_chg
flash_conv_crit_max_chg_L
,
flash_conv_crit_max_chg_F
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.