| 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]; } |