Skip to main content

parse_nmf_processing

Function parse_nmf_processing 

Source
pub fn parse_nmf_processing(s: &str) -> Option<NmfPreprocessing>
Expand description

Parse the NMF pre-processing

§Params

  • s - String to parse. "none" -> leave data as is; "sd" | "scaling" -> divide the respective features by their standard deviation; "sqrt_sd" -> divide the respective features by the square root of their standard deviation.

§Returns

The option of NmfPreprocessing