| 438 | } |
| 439 | |
| 440 | inline int FeatureNumBin(int i) const { |
| 441 | const int group = feature2group_[i]; |
| 442 | const int sub_feature = feature2subfeature_[i]; |
| 443 | return feature_groups_[group]->bin_mappers_[sub_feature]->num_bin(); |
| 444 | } |
| 445 | |
| 446 | inline int8_t FeatureMonotone(int i) const { |
| 447 | if (monotone_types_.empty()) { |
no test coverage detected