pub enum TreeUpdater {
GrowColMaker,
DistCol,
GrowHistMaker,
GrowLocalHistMaker,
GrowSkMaker,
Sync,
Refresh,
Prune,
}
Expand description
Provides a modular way to construct and to modify the trees. This is an advanced parameter that is usually set automatically, depending on some other parameters. However, it could be also set explicitly by a user.
Variants§
GrowColMaker
Non-distributed column-based construction of trees.
DistCol
Distributed tree construction with column-based data splitting mode.
GrowHistMaker
Distributed tree construction with row-based data splitting based on global proposal of histogram counting.
GrowLocalHistMaker
Based on local histogram counting.
GrowSkMaker
Uses the approximate sketching algorithm.
Sync
Synchronizes trees in all distributed nodes.
Refresh
Refreshes tree’s statistics and/or leaf values based on the current data. Note that no random subsampling of data rows is performed.
Prune
Prunes the splits where loss < min_split_loss (or gamma).
Trait Implementations§
Source§impl Clone for TreeUpdater
impl Clone for TreeUpdater
Source§fn clone(&self) -> TreeUpdater
fn clone(&self) -> TreeUpdater
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 moreAuto Trait Implementations§
impl Freeze for TreeUpdater
impl RefUnwindSafe for TreeUpdater
impl Send for TreeUpdater
impl Sync for TreeUpdater
impl Unpin for TreeUpdater
impl UnwindSafe for TreeUpdater
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