We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8c7cdd commit 22bed15Copy full SHA for 22bed15
cpp/APLRRegressor.h
@@ -288,11 +288,11 @@ void APLRRegressor::initialize()
288
{
289
bool term_has_one_unique_value{check_if_base_term_has_only_one_unique_value(i)};
290
Term copy_of_base_term{Term(i)};
291
+ add_term_to_terms_eligible_current(copy_of_base_term);
292
if(term_has_one_unique_value)
293
- copy_of_base_term.ineligible_boosting_steps=std::numeric_limits<size_t>::max();
294
+ terms_eligible_current[terms_eligible_current.size()-1].ineligible_boosting_steps=std::numeric_limits<size_t>::max();
295
}
- add_term_to_terms_eligible_current(copy_of_base_term);
296
297
298
predictions_current=VectorXd::Constant(y_train.size(),0);
0 commit comments