Skip to content

Commit

Permalink
fix references to 'object function' (microsoft#5468)
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslamb authored Sep 6, 2022
1 parent 649ef60 commit f0e3296
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/boosting/gbdt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ void GBDT::AddValidDataset(const Dataset* valid_data,
void GBDT::Boosting() {
Common::FunctionTimer fun_timer("GBDT::Boosting", global_timer);
if (objective_function_ == nullptr) {
Log::Fatal("No object function provided");
Log::Fatal("No objective function provided");
}
// objective function will calculate gradients and hessians
int64_t num_score = 0;
Expand Down
2 changes: 1 addition & 1 deletion src/boosting/gbdt.h
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ class GBDT : public GBDTBase {
data_size_t* buffer);

/*!
* \brief calculate the object function
* \brief calculate the objective function
*/
virtual void Boosting();

Expand Down

0 comments on commit f0e3296

Please sign in to comment.