Unverified Commit f0e32962 authored by James Lamb's avatar James Lamb Committed by GitHub
Browse files

fix references to 'object function' (#5468)

parent 649ef60c
...@@ -219,7 +219,7 @@ void GBDT::AddValidDataset(const Dataset* valid_data, ...@@ -219,7 +219,7 @@ void GBDT::AddValidDataset(const Dataset* valid_data,
void GBDT::Boosting() { void GBDT::Boosting() {
Common::FunctionTimer fun_timer("GBDT::Boosting", global_timer); Common::FunctionTimer fun_timer("GBDT::Boosting", global_timer);
if (objective_function_ == nullptr) { if (objective_function_ == nullptr) {
Log::Fatal("No object function provided"); Log::Fatal("No objective function provided");
} }
// objective function will calculate gradients and hessians // objective function will calculate gradients and hessians
int64_t num_score = 0; int64_t num_score = 0;
......
...@@ -428,7 +428,7 @@ class GBDT : public GBDTBase { ...@@ -428,7 +428,7 @@ class GBDT : public GBDTBase {
data_size_t* buffer); data_size_t* buffer);
/*! /*!
* \brief calculate the object function * \brief calculate the objective function
*/ */
virtual void Boosting(); virtual void Boosting();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment