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

Method SetQueryAt

include/LightGBM/dataset.h:143–145  ·  view source on GitHub ↗

! * \brief Set Query Id for one record * \param idx Index of this record * \param value Query Id value of this record */

Source from the content-addressed store, hash-verified

141 * \param value Query Id value of this record
142 */
143 inline void SetQueryAt(data_size_t idx, data_size_t value) {
144 queries_[idx] = static_cast<data_size_t>(value);
145 }
146
147 /*!
148 * \brief Get weights, if not exists, will return nullptr

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected