ParallelFit

Trait ParallelFit 

Source
pub trait ParallelFit<X, Y> {
    type Fitted;

    // Required methods
    fn fit_parallel(self, x: &X, y: &Y) -> Result<Self::Fitted>;
    fn fit_parallel_with_config(
        self,
        x: &X,
        y: &Y,
        config: &ParallelConfig,
    ) -> Result<Self::Fitted>;
}
Expand description

Trait for parallel fitting operations

Required Associated Types§

Required Methods§

Source

fn fit_parallel(self, x: &X, y: &Y) -> Result<Self::Fitted>

Fit model using parallel operations where beneficial

Source

fn fit_parallel_with_config( self, x: &X, y: &Y, config: &ParallelConfig, ) -> Result<Self::Fitted>

Fit model with parallel configuration

Implementors§