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

Method GetTrainingScore

src/boosting/gbdt.cpp:697–700  ·  view source on GitHub ↗

! \brief Get training scores result */

Source from the content-addressed store, hash-verified

695
696/*! \brief Get training scores result */
697const double* GBDT::GetTrainingScore(int64_t* out_len) {
698 *out_len = static_cast<int64_t>(train_score_updater_->num_data()) * num_class_ * num_labels_;
699 return train_score_updater_->score();
700}
701
702void GBDT::PredictContrib(const double* features, double* output, const PredictionEarlyStopInstance* early_stop) const {
703 int early_stop_round_counter = 0;

Callers

nothing calls this directly

Calls 2

num_dataMethod · 0.45
scoreMethod · 0.45

Tested by

no test coverage detected