From f0e3296232a98be70dc420977a3c5c5d731771ba Mon Sep 17 00:00:00 2001 From: James Lamb Date: Mon, 5 Sep 2022 22:59:47 -0400 Subject: [PATCH] fix references to 'object function' (#5468) --- src/boosting/gbdt.cpp | 2 +- src/boosting/gbdt.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/boosting/gbdt.cpp b/src/boosting/gbdt.cpp index b18800527ff1..c2a38417091a 100644 --- a/src/boosting/gbdt.cpp +++ b/src/boosting/gbdt.cpp @@ -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; diff --git a/src/boosting/gbdt.h b/src/boosting/gbdt.h index 362e4d27c1e1..3d9ef619f1dd 100644 --- a/src/boosting/gbdt.h +++ b/src/boosting/gbdt.h @@ -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();