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

Method bin_info

include/LightGBM/bin.h:181–190  ·  view source on GitHub ↗

! * \brief Get bin info */

Source from the content-addressed store, hash-verified

179 * \brief Get bin info
180 */
181 inline std::string bin_info() const {
182 if (bin_type_ == BinType::CategoricalBin) {
183 return Common::Join(bin_2_categorical_, ":");
184 } else {
185 std::stringstream str_buf;
186 str_buf << std::setprecision(std::numeric_limits<double>::digits10 + 2);
187 str_buf << '[' << min_val_ << ':' << max_val_ << ']';
188 return str_buf.str();
189 }
190 }
191
192 private:
193 /*! \brief Number of bins */

Callers 1

feature_infosMethod · 0.45

Calls 1

JoinFunction · 0.50

Tested by

no test coverage detected