pub fn nmf_multiple_run<T>(
data: MatRef<'_, T>,
k: usize,
preprocessing: &str,
nmf_hals_params: Option<HalsOpts<T>>,
n_runs: usize,
base_seed: usize,
verbose: usize,
) -> Result<StabilisedNmfResult<T>, MethodsErrors>where
T: BixverseFloat,Expand description
Run NMF (multiple runs)
This version runs NMF on dense inputs (think bulk RNAseq experiments) across a set of random initialisations and returns the results across these runs. Assumes samples x features.
§Params
data- The data on which to run a single NMF run. Assumes samples x features.k- Number of k to returnpreprocessing- String. Shall additional pre-processing be applied, see parse_nmf_processing.nmf_hals_params- Optional HalsOpts parameters.n_runs- Number of runs at this kbase_seed- The base seed.verbose- If0-> silent or1for normal verbosity,2for detailed verbosity.
§Returns
StabilisedNmfResult or errors.