pub enum Predictor {
Cpu,
Gpu,
}
Expand description
The type of predictor algorithm to use. Provides the same results but allows the use of GPU or CPU.
Variants§
Cpu
Multicore CPU prediction algorithm.
Gpu
Prediction using GPU. Default for ‘gpu_exact’ and ‘gpu_hist’ tree method.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Predictor
impl RefUnwindSafe for Predictor
impl Send for Predictor
impl Sync for Predictor
impl Unpin for Predictor
impl UnwindSafe for Predictor
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more