Skip to main content

IncrementalSupervisedEstimator

Trait IncrementalSupervisedEstimator 

Source
pub trait IncrementalSupervisedEstimator {
    // Required methods
    fn partial_fit(
        &mut self,
        batch_x: &Array2<f64>,
        batch_y: &Array1<f64>,
    ) -> Result<(), IncrementalError>;
    fn predict(&self, x: &Array2<f64>) -> Result<Array1<f64>, IncrementalError>;
}

Required Methods§

Source

fn partial_fit( &mut self, batch_x: &Array2<f64>, batch_y: &Array1<f64>, ) -> Result<(), IncrementalError>

Source

fn predict(&self, x: &Array2<f64>) -> Result<Array1<f64>, IncrementalError>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§