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

pub struct TensorForestParams {
    pub leaf_type: i32,
    pub stats_type: i32,
    pub collection_type: i32,
    pub pruning_type: Option<SplitPruningConfig>,
    pub finish_type: Option<SplitFinishConfig>,
    pub num_trees: i32,
    pub max_nodes: i32,
    pub num_features: i32,
    pub inequality_test_type: i32,
    pub is_regression: bool,
    pub drop_final_class: bool,
    pub collate_examples: bool,
    pub checkpoint_stats: bool,
    pub use_running_stats_method: bool,
    pub initialize_average_splits: bool,
    pub inference_tree_paths: bool,
    pub num_outputs: i32,
    pub num_splits_to_consider: Option<DepthDependentParam>,
    pub split_after_samples: Option<DepthDependentParam>,
    pub dominate_fraction: Option<DepthDependentParam>,
    pub min_split_samples: Option<DepthDependentParam>,
    pub graph_dir: String,
    pub num_select_features: i32,
    pub num_classes_to_track: i32,
}

Fields

leaf_type: i32

------------ Types that control training subsystems ------ //

stats_type: i32collection_type: i32pruning_type: Option<SplitPruningConfig>finish_type: Option<SplitFinishConfig>num_trees: i32

--------- Parameters that can't change by definition --------------- //

max_nodes: i32num_features: i32inequality_test_type: i32is_regression: bool

Some booleans controlling execution

drop_final_class: boolcollate_examples: boolcheckpoint_stats: booluse_running_stats_method: boolinitialize_average_splits: boolinference_tree_paths: boolnum_outputs: i32

Number of classes (classification) or targets (regression)

num_splits_to_consider: Option<DepthDependentParam>

--------- Parameters that could be depth-dependent --------------- //

split_after_samples: Option<DepthDependentParam>dominate_fraction: Option<DepthDependentParam>min_split_samples: Option<DepthDependentParam>graph_dir: String

--------- Parameters for experimental features ---------------------- //

num_select_features: i32num_classes_to_track: i32

When using a FixedSizeSparseClassificationGrowStats, keep track of this many classes.

Implementations

impl TensorForestParams[src]

pub fn leaf_type(&self) -> LeafModelType[src]

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

pub fn set_leaf_type(&mut self, value: LeafModelType)[src]

Sets leaf_type to the provided enum value.

pub fn stats_type(&self) -> StatsModelType[src]

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

pub fn set_stats_type(&mut self, value: StatsModelType)[src]

Sets stats_type to the provided enum value.

pub fn collection_type(&self) -> SplitCollectionType[src]

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

pub fn set_collection_type(&mut self, value: SplitCollectionType)[src]

Sets collection_type to the provided enum value.

pub fn inequality_test_type(&self) -> Type[src]

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

pub fn set_inequality_test_type(&mut self, value: Type)[src]

Sets inequality_test_type to the provided enum value.

Trait Implementations

impl Clone for TensorForestParams[src]

impl Debug for TensorForestParams[src]

impl Default for TensorForestParams[src]

impl Message for TensorForestParams[src]

impl PartialEq<TensorForestParams> for TensorForestParams[src]

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