xgboost
Public Member Functions | Public Attributes | List of all members
xgboost::TreeParam Struct Reference

meta parameters of the tree More...

#include <tree_model.h>

Inheritance diagram for xgboost::TreeParam:
Inheritance graph
Collaboration diagram for xgboost::TreeParam:
Collaboration graph

Public Member Functions

 TreeParam ()
 constructor More...
 
TreeParam ByteSwap () const
 
 DMLC_DECLARE_PARAMETER (TreeParam)
 
bool operator== (const TreeParam &b) const
 

Public Attributes

int deprecated_num_roots {1}
 (Deprecated) number of start root More...
 
int num_nodes {1}
 total number of nodes More...
 
int num_deleted {0}
 number of deleted nodes More...
 
int deprecated_max_depth {0}
 maximum depth, this is a statistics of the tree More...
 
bst_feature_t num_feature {0}
 number of features used for tree construction More...
 
bst_target_t size_leaf_vector {1}
 leaf vector size, used for vector tree used to store more than one dimensional information in tree More...
 
int reserved [31]
 reserved part, make sure alignment works for 64bit More...
 

Detailed Description

meta parameters of the tree

Constructor & Destructor Documentation

◆ TreeParam()

xgboost::TreeParam::TreeParam ( )
inline

constructor

Member Function Documentation

◆ ByteSwap()

TreeParam xgboost::TreeParam::ByteSwap ( ) const
inline

◆ DMLC_DECLARE_PARAMETER()

xgboost::TreeParam::DMLC_DECLARE_PARAMETER ( TreeParam  )
inline

◆ operator==()

bool xgboost::TreeParam::operator== ( const TreeParam b) const
inline

Member Data Documentation

◆ deprecated_max_depth

int xgboost::TreeParam::deprecated_max_depth {0}

maximum depth, this is a statistics of the tree

◆ deprecated_num_roots

int xgboost::TreeParam::deprecated_num_roots {1}

(Deprecated) number of start root

◆ num_deleted

int xgboost::TreeParam::num_deleted {0}

number of deleted nodes

◆ num_feature

bst_feature_t xgboost::TreeParam::num_feature {0}

number of features used for tree construction

◆ num_nodes

int xgboost::TreeParam::num_nodes {1}

total number of nodes

◆ reserved

int xgboost::TreeParam::reserved[31]

reserved part, make sure alignment works for 64bit

◆ size_leaf_vector

bst_target_t xgboost::TreeParam::size_leaf_vector {1}

leaf vector size, used for vector tree used to store more than one dimensional information in tree


The documentation for this struct was generated from the following file: