Skip to content

Commit 405cdc1

Browse files
formatting
1 parent 021d88d commit 405cdc1

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

cpp/APLRRegressor.h

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -513,19 +513,6 @@ void APLRRegressor::execute_boosting_steps()
513513
}
514514
}
515515

516-
void APLRRegressor::execute_boosting_step(size_t boosting_step)
517-
{
518-
if(!abort_boosting)
519-
{
520-
find_best_split_for_each_eligible_term();
521-
consider_interactions();
522-
select_the_best_term_and_update_errors(boosting_step);
523-
}
524-
if(abort_boosting) return;
525-
update_term_eligibility();
526-
print_summary_after_boosting_step(boosting_step);
527-
}
528-
529516
void APLRRegressor::update_intercept()
530517
{
531518
if(sample_weight_train.size()==0)
@@ -540,6 +527,19 @@ void APLRRegressor::update_intercept()
540527
calculate_and_validate_validation_error(0);
541528
}
542529

530+
void APLRRegressor::execute_boosting_step(size_t boosting_step)
531+
{
532+
if(!abort_boosting)
533+
{
534+
find_best_split_for_each_eligible_term();
535+
consider_interactions();
536+
select_the_best_term_and_update_errors(boosting_step);
537+
}
538+
if(abort_boosting) return;
539+
update_term_eligibility();
540+
print_summary_after_boosting_step(boosting_step);
541+
}
542+
543543
void APLRRegressor::update_linear_predictor_and_predictors()
544544
{
545545
linear_predictor_current+=linear_predictor_update;

0 commit comments

Comments
 (0)