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

Class BinIterator

python-package/compile/include/LightGBM/bin.h:272–283  ·  view source on GitHub ↗

! \brief Iterator for one bin column */

Source from the content-addressed store, hash-verified

270
271/*! \brief Iterator for one bin column */
272class BinIterator {
273 public:
274 /*!
275 * \brief Get bin data on specific row index
276 * \param idx Index of this data
277 * \return Bin data
278 */
279 virtual uint32_t Get(data_size_t idx) = 0;
280 virtual uint32_t RawGet(data_size_t idx) = 0;
281 virtual void Reset(data_size_t idx) = 0;
282 virtual ~BinIterator() = default;
283};
284
285/*!
286* \brief Interface for bin data. This class will store bin data for one feature.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected