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

Method BinToValue

include/LightGBM/bin.h:113–119  ·  view source on GitHub ↗

! * \brief Mapping bin into feature value * \param bin * \return Feature value of this bin */

Source from the content-addressed store, hash-verified

111 * \return Feature value of this bin
112 */
113 inline double BinToValue(uint32_t bin) const {
114 if (bin_type_ == BinType::NumericalBin) {
115 return bin_upper_bound_[bin];
116 } else {
117 return bin_2_categorical_[bin];
118 }
119 }
120 /*!
121 * \brief Get sizes in byte of this object
122 */

Callers 1

RealThresholdMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected