pub enum ProcessType {
Default,
Update,
}
Expand description
A type of boosting process to run.
Variants§
Default
The normal boosting process which creates new trees.
Update
Starts from an existing model and only updates its trees. In each boosting iteration, a tree from the initial model is taken, a specified sequence of updater plugins is run for that tree, and a modified tree is added to the new model. The new model would have either the same or smaller number of trees, depending on the number of boosting iteratons performed. Currently, the following built-in updater plugins could be meaningfully used with this process type: ‘refresh’, ‘prune’. With ‘update’, one cannot use updater plugins that create new trees.
Trait Implementations§
Source§impl Clone for ProcessType
impl Clone for ProcessType
Source§fn clone(&self) -> ProcessType
fn clone(&self) -> ProcessType
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for ProcessType
impl Default for ProcessType
Source§fn default() -> ProcessType
fn default() -> ProcessType
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ProcessType
impl RefUnwindSafe for ProcessType
impl Send for ProcessType
impl Sync for ProcessType
impl Unpin for ProcessType
impl UnwindSafe for ProcessType
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