pub struct BinSplit {
pub group: u32,
pub column: u32,
pub left_bins: [u32; 8],
}Expand description
A split as the device applies it: rows whose bin of the feature at (group, column) is set in left_bins go
left. Numerical splits set bins 0..=threshold and, when missing values go left, the NaN bin.
Fields§
§group: u32§column: u32§left_bins: [u32; 8]Implementations§
Trait Implementations§
impl Copy for BinSplit
impl Eq for BinSplit
impl StructuralPartialEq for BinSplit
Auto Trait Implementations§
impl Forget for BinSplit
impl Freeze for BinSplit
impl Move for BinSplit
impl RefUnwindSafe for BinSplit
impl Send for BinSplit
impl Sync for BinSplit
impl Unpin for BinSplit
impl UnsafeUnpin for BinSplit
impl UnwindSafe for BinSplit
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more