Skip to main content

parse_nmf_init

Function parse_nmf_init 

Source
pub fn parse_nmf_init(s: &str, seed: usize) -> Option<NmfInit>
Expand description

Parse the NMF initialisation

§Params

  • s - String to parse. One of "nndsvd", "svd" or "random".
  • seed - Seed for the random initialisation

§Returns

The option of NmfInit