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

pub struct BucketizedSplit {
    pub feature_id: i32,
    pub threshold: i32,
    pub dimension_id: i32,
    pub default_direction: i32,
    pub left_id: i32,
    pub right_id: i32,
}

Fields

feature_id: i32

Float feature column and split threshold describing the rule feature <= threshold.

threshold: i32dimension_id: i32

If feature column is multivalent, this holds the index of the dimension for the split. Defaults to 0.

default_direction: i32

default direction for missing values.

left_id: i32

Node children indexing into a contiguous vector of nodes starting from the root.

right_id: i32

Implementations

impl BucketizedSplit[src]

pub fn default_direction(&self) -> DefaultDirection[src]

Returns the enum value of default_direction, or the default if the field is set to an invalid enum value.

pub fn set_default_direction(&mut self, value: DefaultDirection)[src]

Sets default_direction to the provided enum value.

Trait Implementations

impl Clone for BucketizedSplit[src]

impl Debug for BucketizedSplit[src]

impl Default for BucketizedSplit[src]

impl Message for BucketizedSplit[src]

impl PartialEq<BucketizedSplit> for BucketizedSplit[src]

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