Unverified Commit 04d37f9b authored by Guolin Ke's avatar Guolin Ke Committed by GitHub
Browse files

fix bagging_freq checking

parent 0b75e144
......@@ -437,7 +437,6 @@ void BoostingConfig::Set(const std::unordered_map<std::string, std::string>& par
CHECK(num_iterations >= 0);
GetInt(params, "bagging_seed", &bagging_seed);
GetInt(params, "bagging_freq", &bagging_freq);
CHECK(bagging_freq >= 0);
GetDouble(params, "bagging_fraction", &bagging_fraction);
CHECK(bagging_fraction > 0.0f && bagging_fraction <= 1.0f);
GetDouble(params, "learning_rate", &learning_rate);
......
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