pub trait ParallelSupervisedModel<T> {
// Required method
fn fit_parallel(
&mut self,
X: T,
y: &Array,
num_threads: usize,
) -> Result<(), &'static str>;
}Expand description
Applies to models capable of being trained in a parallel fashion.
Required Methods§
fn fit_parallel( &mut self, X: T, y: &Array, num_threads: usize, ) -> Result<(), &'static str>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".