[][src]Struct tensorflow_proto::tensorflow::boosted_trees::DebugOutput

pub struct DebugOutput {
    pub feature_ids: Vec<i32>,
    pub logits_path: Vec<f32>,
}

DebugOutput contains outputs useful for debugging/model interpretation, at the individual example-level. Debug outputs that are available to the user are: 1) Directional feature contributions (DFCs) 2) Node IDs for ensemble prediction path 3) Leaf node IDs.

Fields

feature_ids: Vec<i32>

Return the logits and associated feature splits across prediction paths for each tree, for every example, at predict time. We will use these values to compute DFCs in Python, by subtracting each child prediction from its parent prediction and associating this change with its respective feature id.

logits_path: Vec<f32>

Trait Implementations

impl Clone for DebugOutput[src]

impl Debug for DebugOutput[src]

impl Default for DebugOutput[src]

impl Message for DebugOutput[src]

impl PartialEq<DebugOutput> for DebugOutput[src]

impl StructuralPartialEq for DebugOutput[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.