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

Method split_gain

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

Source from the content-addressed store, hash-verified

137 inline int split_feature(int split_idx) const { return split_feature_[split_idx]; }
138
139 inline double split_gain(int split_idx) const { return split_gain_[split_idx]; }
140
141 /*! \brief Get the number of data points that fall at or below this node*/
142 inline int data_count(int node) const { return node >= 0 ? internal_count_[node] : leaf_count_[~node]; }

Callers 1

FeatureImportanceMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected