Commit b7ed7395 authored by Tsukasa OMOTO's avatar Tsukasa OMOTO Committed by Guolin Ke
Browse files

Fix the initializer list of GBDT (#156)

This commit fixes https://github.com/Microsoft/LightGBM/issues/154#issuecomment-269908741.
parent f6024c8b
...@@ -16,9 +16,16 @@ ...@@ -16,9 +16,16 @@
namespace LightGBM { namespace LightGBM {
GBDT::GBDT() GBDT::GBDT()
:iter_(0), :iter_(0),
train_data_(nullptr),
object_function_(nullptr),
early_stopping_round_(0),
max_feature_idx_(0),
num_class_(1),
sigmoid_(1.0f),
num_iteration_for_pred_(0), num_iteration_for_pred_(0),
shrinkage_rate_(0.1f),
num_init_iteration_(0) { num_init_iteration_(0) {
} }
......
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