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§
Sourcefn extract_features(&self, context: &SchedulingContext) -> Vec<f64>
fn extract_features(&self, context: &SchedulingContext) -> Vec<f64>
Extract features from scheduling context
Sourcefn feature_names(&self) -> Vec<String>
fn feature_names(&self) -> Vec<String>
Get feature names