FeatureExtractor

Trait FeatureExtractor 

Source
pub trait FeatureExtractor: Send + Sync {
    // Required methods
    fn extract_features(&self, context: &SchedulingContext) -> Vec<f64>;
    fn feature_names(&self) -> Vec<String>;
}
Expand description

Feature extractor trait for ML scheduler

Required Methods§

Source

fn extract_features(&self, context: &SchedulingContext) -> Vec<f64>

Extract features from scheduling context

Source

fn feature_names(&self) -> Vec<String>

Get feature names

Implementors§