MCPcopy Create free account
hub / github.com/antmachineintelligence/mtgbmcode / leaf_depth

Method leaf_depth

include/LightGBM/tree.h:134–134  ·  view source on GitHub ↗

! \brief Get depth of specific leaf*/

Source from the content-addressed store, hash-verified

132
133 /*! \brief Get depth of specific leaf*/
134 inline int leaf_depth(int leaf_idx) const { return leaf_depth_[leaf_idx]; }
135
136 /*! \brief Get feature of specific split*/
137 inline int split_feature(int split_idx) const { return split_feature_[split_idx]; }

Callers 6

TrainMethod · 0.45
BeforeFindBestSplitMethod · 0.45
ForceSplitsMethod · 0.45
TrainMethod · 0.45
BeforeFindBestSplitMethod · 0.45
ForceSplitsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected