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

meta parameters of the tree More...

#include <tree_model.h>

Collaboration diagram for xgboost::TreeParam:
Collaboration graph

Public Member Functions

bool operator== (const TreeParam &b) const
 
void FromJson (Json const &in)
 
void ToJson (Json *p_out) const
 

Public Attributes

bst_node_t num_nodes {1}
 The number of nodes. More...
 
bst_node_t num_deleted {0}
 The number of deleted nodes. More...
 
bst_feature_t num_feature {0}
 The number of features used for tree construction. More...
 
bst_target_t size_leaf_vector {1}
 leaf vector size. Used by the vector leaf. More...
 

Detailed Description

meta parameters of the tree

Member Function Documentation

◆ FromJson()

void xgboost::TreeParam::FromJson ( Json const &  in)

◆ operator==()

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

◆ ToJson()

void xgboost::TreeParam::ToJson ( Json p_out) const

Member Data Documentation

◆ num_deleted

bst_node_t xgboost::TreeParam::num_deleted {0}

The number of deleted nodes.

◆ num_feature

bst_feature_t xgboost::TreeParam::num_feature {0}

The number of features used for tree construction.

◆ num_nodes

bst_node_t xgboost::TreeParam::num_nodes {1}

The number of nodes.

◆ size_leaf_vector

bst_target_t xgboost::TreeParam::size_leaf_vector {1}

leaf vector size. Used by the vector leaf.


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