pub struct LGDT<D>where
D: OptimalDepth2Tree + ?Sized,{ /* private fields */ }Expand description
LGDT, a less greedy decision tree learner.
Like CART, it builds the tree top-down one test at a time, but it chooses
each test by solving a depth-2 tree at the node with a
OptimalDepth2Tree solver and keeping its root. This two-level
lookahead is cheap thanks to the depth-2 solver and makes the tree much
less myopic than a purely greedy one.
Kiossou, Schaus, Nijssen and Aglin, Efficient Lookahead Decision Trees
(IDA 2024). Build one with LGDTBuilder or the
functions in factories.
Implementations§
Source§impl<D> LGDT<D>where
D: OptimalDepth2Tree + ?Sized,
impl<D> LGDT<D>where
D: OptimalDepth2Tree + ?Sized,
Sourcepub fn config(&self) -> &BaseSearchConfig
pub fn config(&self) -> &BaseSearchConfig
The settings of the search.
Trait Implementations§
Auto Trait Implementations§
impl<D> Freeze for LGDT<D>where
D: ?Sized,
impl<D> RefUnwindSafe for LGDT<D>where
D: RefUnwindSafe + ?Sized,
impl<D> Send for LGDT<D>
impl<D> Sync for LGDT<D>
impl<D> Unpin for LGDT<D>where
D: ?Sized,
impl<D> UnsafeUnpin for LGDT<D>where
D: ?Sized,
impl<D> UnwindSafe for LGDT<D>where
D: UnwindSafe + ?Sized,
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