Commit 9752d7c9 authored by Konstantinos Chatzilygeroudis's avatar Konstantinos Chatzilygeroudis
Browse files

Fix for hp_period

parent d418f33d
......@@ -117,7 +117,7 @@ namespace limbo {
}
if (Params::bayes_opt_boptimizer::hp_period() > 0
&& this->_current_iteration % Params::bayes_opt_boptimizer::hp_period() == 0)
&& (this->_current_iteration + 1) % Params::bayes_opt_boptimizer::hp_period() == 0)
_model.optimize_hyperparams();
this->_current_iteration++;
......
Supports Markdown
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