View source: R/flash_conv_crit_fns.R
flash_conv_crit_max_chg | R Documentation |
An alternative objective function that can be used to determine
convergence when fitting a flash
object. Calculates the
maximum (absolute) change over all (posterior expected values for)
loadings \ell_{ik}
and factors f_{jk}
. At each iteration, the
loadings vectors \ell_{\cdot 1}, \ldots, \ell_{\cdot K}
and factors
f_{\cdot 1}, \ldots, f_{\cdot K}
are L^2
-normalized.
flash_conv_crit_max_chg(curr, prev, k)
curr |
The |
prev |
The |
k |
Only used during sequential backfits (that is, calls to
|
A scalar, which is compared against the tolerance parameter
tol
to determine whether a fit has converged.
flash_conv_crit_elbo_diff
,
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.