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

Method SetLabelAt

include/LightGBM/dataset.h:125–127  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

123 * \param value Label value of this record
124 */
125 inline void SetLabelAt(data_size_t idx, label_t value) {
126 label_[idx] = value;
127 }
128
129 /*!
130 * \brief Set Weight for one record

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected