Skip to content

Commit

Permalink
Initial CUDA work
Browse files Browse the repository at this point in the history
  • Loading branch information
ChipKerchner committed Jun 11, 2020
1 parent 8b5e5e3 commit e1f8270
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/boosting/gbdt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ void GBDT::Init(const Config* config, const Dataset* train_data, const Objective
num_tree_per_iteration_ = objective_function_->NumModelPerIteration();
}

is_constant_hessian_ = GetIsConstHessian(objective_function);

// push training metrics
training_metrics_.clear();
for (const auto& metric : training_metrics) {
Expand Down

0 comments on commit e1f8270

Please sign in to comment.