pub fn cont_simple(names: &[&str]) -> Self {
        InputLayer {
            names: names.iter().map(|x| (&**x).to_string()).collect(),
            indices: None,
            num_columns: None,
            weight: 1.0,
            is_class: false,
            metric: Metric::Euclidean,
            norm: norm::Norm::Gauss,
            scale: 1.0,
        }
    }
/// Creates a new continuous / non-categorical input layer definition with default weight and Gaussian normalization.
Creates a new continuous / non-categorical input layer definition with default weight and Gaussian normalization.
Creates a new continuous / non - categorical input layer definition with default weight and Gaussian normalization .
pub fn cont_simple(names: &[&str]) -> Self {
        InputLayer {
            names: names.iter().map(|x| (&**x).to_string()).collect(),
            indices: None,
            num_columns: None,
            weight: 1.0,
            is_class: false,
            metric: Metric::Euclidean,
            norm: norm::Norm::Gauss,
            scale: 1.0,
        }
    }
pub fn cont_simple ( names : & [ & str ] ) -> Self { InputLayer { names : names . iter ( ) . map ( | x | ( & * * x ) . to_string ( ) ) . collect ( ) , indices : None , num_columns : None , weight : 1.0 , is_class : false , metric : Metric :: Euclidean , norm : norm :: Norm :: Gauss , scale : 1.0 , } }
Creates a new continuous / non-categorical input layer definition with default weight and Gaussian normalization.
Creates a new continuous / non - categorical input layer definition with default weight and Gaussian normalization .
names
&[&str]
names
&[&str]