pub fn convert_string_categorical<T>( list: &Vec<T>, extra_class: bool, ) -> Vec<f64>where T: PartialEq + Eq + Hash + Copy,