Skip to main content

Predictor

Trait Predictor 

Source
pub trait Predictor: Send + Sync {
    // Required method
    fn predict(&self, frame: &Frame) -> Result<Vec<f64>>;
}
Expand description

Produces point predictions for a frame.

Required Methods§

Source

fn predict(&self, frame: &Frame) -> Result<Vec<f64>>

Predict one value per row.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§