[][src]Struct tensorflow_proto::tensorflow::tensorforest::FertileSlot

pub struct FertileSlot {
    pub leaf_stats: Option<LeafStat>,
    pub candidates: Vec<SplitCandidate>,
    pub post_init_leaf_stats: Option<LeafStat>,
    pub node_id: i32,
    pub depth: i32,
}

Fields

leaf_stats: Option<LeafStat>

The statistics for all the examples seen at this leaf.

candidates: Vec<SplitCandidate>post_init_leaf_stats: Option<LeafStat>

The statistics for the examples seen at this leaf after all the splits have been initialized. If post_init_leaf_stats.weight_sum is > 0, then all candidates have been initialized. We need to track both leaf_stats and post_init_leaf_stats because the first is used to create the decision_tree::Leaf and the second is used to infer the statistics for the right side of a split (given the leaf side stats).

node_id: i32depth: i32

Trait Implementations

impl Clone for FertileSlot[src]

impl Debug for FertileSlot[src]

impl Default for FertileSlot[src]

impl Message for FertileSlot[src]

impl PartialEq<FertileSlot> for FertileSlot[src]

impl StructuralPartialEq for FertileSlot[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.