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§
Sourcefn fit_parallel(self, x: &X, y: &Y) -> Result<Self::Fitted>
fn fit_parallel(self, x: &X, y: &Y) -> Result<Self::Fitted>
Fit model using parallel operations where beneficial
Sourcefn fit_parallel_with_config(
self,
x: &X,
y: &Y,
config: &ParallelConfig,
) -> Result<Self::Fitted>
fn fit_parallel_with_config( self, x: &X, y: &Y, config: &ParallelConfig, ) -> Result<Self::Fitted>
Fit model with parallel configuration