Trait rustlearn::traits::ParallelPredict
[−]
[src]
pub trait ParallelPredict<T> { fn decision_function_parallel(&self, X: T, num_threads: usize) -> Result<Array, &'static str>; fn predict_parallel(&self, X: T, num_threads: usize) -> Result<Array, &'static str> { ... } }
Applies to models capable of making predictions in a parallel fashion.
Required Methods
fn decision_function_parallel(&self, X: T, num_threads: usize) -> Result<Array, &'static str>
Provided Methods
fn predict_parallel(&self, X: T, num_threads: usize) -> Result<Array, &'static str>
Implementors
impl<'a> ParallelPredict<&'a Array> for SGDClassifier
impl<'a, T: SupervisedModel<&'a Array> + Clone + Sync> ParallelPredict<&'a Array> for OneVsRestWrapper<T>
impl<'a, T: SupervisedModel<&'a SparseRowArray> + Clone + Sync> ParallelPredict<&'a SparseRowArray> for OneVsRestWrapper<T>
impl<'a, T: SupervisedModel<&'a SparseColumnArray> + Clone + Sync> ParallelPredict<&'a SparseColumnArray> for OneVsRestWrapper<T>