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

Method init_score

include/LightGBM/dataset.h:196–202  ·  view source on GitHub ↗

! * \brief Get initial scores, if not exists, will return nullptr * \return Pointer of initial scores */

Source from the content-addressed store, hash-verified

194 * \return Pointer of initial scores
195 */
196 inline const double* init_score() const {
197 if (!init_score_.empty()) {
198 return init_score_.data();
199 } else {
200 return nullptr;
201 }
202 }
203
204 /*!
205 * \brief Get size of initial scores

Callers 3

InitMethod · 0.45
ScoreUpdaterMethod · 0.45
GetDoubleFieldMethod · 0.45

Calls 2

dataMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected