"tests/vscode:/vscode.git/clone" did not exist on "ba99bcddc6c8db0da0465e0eea6586e187c0edc2"
Unverified Commit 3f1fc835 authored by Guolin Ke's avatar Guolin Ke Committed by GitHub
Browse files

[CPP] disable early stopping in dart (#1894)

* [CPP] disable early stopping in dart

* fix compile error
parent 47f0d5e8
......@@ -79,6 +79,11 @@ public:
return train_score_updater_->score();
}
bool EvalAndCheckEarlyStopping() override {
GBDT::OutputMetric(iter_);
return false;
}
private:
/*!
* \brief drop trees based on drop_rate
......
......@@ -360,7 +360,7 @@ protected:
/*!
* \brief Print eval result and check early stopping
*/
bool EvalAndCheckEarlyStopping();
virtual bool EvalAndCheckEarlyStopping();
/*!
* \brief reset config for bagging
......
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