"src/vscode:/vscode.git/clone" did not exist on "2e98916fbcdadd6d8d569b9c00615695f7f9d735"
Commit 55656f27 authored by 奇安信CodeSafe's avatar 奇安信CodeSafe Committed by Guolin Ke
Browse files

delete the variable which is never used (#2294)

parent c17a5f5b
...@@ -85,7 +85,7 @@ void Application::LoadData() { ...@@ -85,7 +85,7 @@ void Application::LoadData() {
std::unique_ptr<Predictor> predictor; std::unique_ptr<Predictor> predictor;
// prediction is needed if using input initial model(continued train) // prediction is needed if using input initial model(continued train)
PredictFunction predict_fun = nullptr; PredictFunction predict_fun = nullptr;
PredictionEarlyStopInstance pred_early_stop = CreatePredictionEarlyStopInstance("none", LightGBM::PredictionEarlyStopConfig());
// need to continue training // need to continue training
if (boosting_->NumberOfTotalModel() > 0 && config_.task != TaskType::KRefitTree) { if (boosting_->NumberOfTotalModel() > 0 && config_.task != TaskType::KRefitTree) {
predictor.reset(new Predictor(boosting_.get(), -1, true, false, false, false, -1, -1)); predictor.reset(new Predictor(boosting_.get(), -1, true, false, false, false, -1, -1));
......
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