R/flash_greedy_init_fns.R
flash_greedy_init_softImpute.Rd
Initializes a new ("greedy") flash factor using softImpute
.
When there is missing data, this can yield better results than
flash_greedy_init_default
without sacrificing much (if any) speed.
flash_greedy_init_softImpute(flash, seed = 666, ...)
A flash_fit
object.
Since initialization is random, a default seed is set for reproducibility.
Additional parameters to be passed to
softImpute
.
A list of length two consisting of, respectively, the vector of initial values for loadings \(\ell_{\cdot k}\) and the vector of initial factor values \(f_{\cdot k}\).