File tree Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Original file line number Diff line number Diff 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-
529516void 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+
543543void APLRRegressor::update_linear_predictor_and_predictors ()
544544{
545545 linear_predictor_current+=linear_predictor_update;
You can’t perform that action at this time.
0 commit comments