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

Method SetWeightAt

include/LightGBM/dataset.h:134–136  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

132 * \param value Weight value of this record
133 */
134 inline void SetWeightAt(data_size_t idx, label_t value) {
135 weights_[idx] = value;
136 }
137
138 /*!
139 * \brief Set Query Id for one record

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected