flash_nullcheck {flashier} | R Documentation |
Nullcheck flash factors
Description
Sets factor/loadings pairs to zero if doing so improves the variational
lower bound (ELBO). See flash
for examples of usage.
Usage
flash_nullcheck(flash, kset = NULL, remove = TRUE, tol = NULL, verbose = NULL)
Arguments
flash |
A |
kset |
A vector of integers specifying which factors to nullcheck.
If |
remove |
Whether to remove factors that have been set to zero from the
|
tol |
The "tolerance" parameter: if a factor does not improve the ELBO
by at least |
verbose |
When and how to display progress updates. For nullchecks,
updates are only displayed when |
Value
The flash
object from argument flash
, with
factors that do not improve the ELBO by at least tol
either set
to zero or removed (depending on the argument to parameter remove
).
See Also
flash_factors_remove
,
flash_factors_set_to_zero