pub fn cat_simple(name: &str) -> Self {
        InputLayer {
            names: vec![name.to_string()],
            indices: None,
            num_columns: None,
            weight: 1.0,
            is_class: true,
            metric: Metric::Tanimoto,
            norm: norm::Norm::None,
            scale: 1.0,
        }
    }
/// Creates a new categorical input layer definition with default weight.
Creates a new categorical input layer definition with default weight.
Creates a new categorical input layer definition with default weight .
pub fn cat_simple(name: &str) -> Self {
        InputLayer {
            names: vec![name.to_string()],
            indices: None,
            num_columns: None,
            weight: 1.0,
            is_class: true,
            metric: Metric::Tanimoto,
            norm: norm::Norm::None,
            scale: 1.0,
        }
    }
pub fn cat_simple ( name : & str ) -> Self { InputLayer { names : vec ! [ name to_string ( ) ] , indices : None , num_columns : None , weight : 1.0 , is_class : true , metric : Metric :: Tanimoto , norm : norm :: Norm :: None , scale : 1.0 , } }
Creates a new categorical input layer definition with default weight.
Creates a new categorical input layer definition with default weight .
name
&str
name
&str