pub fn nmf_process_sparse<T>(
x: &CompressedSparseData2<T>,
process: &NmfPreprocessing,
use_second_layer: bool,
) -> Result<CompressedSparseData2<T>, MethodsErrors>where
T: BixverseFloat + BixverseSimd,Expand description
Process sparse matrices of samples x features (need to be in CSC format!)
§Params
x- Sparse matrix to preprocess, see CompressedSparseData2.process- Which approach of NMF pre-processing to apply, see NmfPreprocessing.use_second_layer- Use the second data layer.
§Returns
The pre-processed matrix