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

Method SetLeafOutput

include/LightGBM/tree.h:91–93  ·  view source on GitHub ↗

! \brief Set the output of one leaf */

Source from the content-addressed store, hash-verified

89
90 /*! \brief Set the output of one leaf */
91 inline void SetLeafOutput(int leaf, double output) {
92 leaf_value_[leaf] = output;
93 }
94
95 /*!
96 * \brief Adding prediction value of this tree model to scores

Callers 6

SetLeafValueMethod · 0.45
FitByExistingTreeMethod · 0.45
RenewTreeOutputMethod · 0.45
Train_serial2Method · 0.45
FitByExistingTreeMethod · 0.45
RenewTreeOutputMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected