pub trait CategoricalFeatureHelpers {
// Provided methods
fn create_feature_map(
&self,
features: &[String],
array: &[Vec<String>],
) -> Result<FeatureMap, DriftError> { ... }
fn convert_strings_to_ndarray_f32(
&self,
features: &Vec<String>,
array: &[Vec<String>],
feature_map: &FeatureMap,
) -> Result<Array2<f32>, DriftError> { ... }
fn convert_strings_to_ndarray_f64(
&self,
features: &Vec<String>,
array: &[Vec<String>],
feature_map: &FeatureMap,
) -> Result<Array2<f64>, DriftError> { ... }
}Provided Methods§
fn create_feature_map( &self, features: &[String], array: &[Vec<String>], ) -> Result<FeatureMap, DriftError>
fn convert_strings_to_ndarray_f32( &self, features: &Vec<String>, array: &[Vec<String>], feature_map: &FeatureMap, ) -> Result<Array2<f32>, DriftError>
fn convert_strings_to_ndarray_f64( &self, features: &Vec<String>, array: &[Vec<String>], feature_map: &FeatureMap, ) -> Result<Array2<f64>, DriftError>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".