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 1f39304 commit 4afc867Copy full SHA for 4afc867
cpp/APLRRegressor.h
@@ -574,7 +574,7 @@ void APLRRegressor::consider_updating_intercept()
574
void APLRRegressor::select_the_best_term_and_update_errors(size_t boosting_step)
575
{
576
//If intercept does best
577
- if(std::isless(error_after_updating_intercept,lowest_error_sum))
+ if(std::islessequal(error_after_updating_intercept,lowest_error_sum))
578
579
//Updating intercept, current predictions, gradient and errors
580
lowest_error_sum=error_after_updating_intercept;
0 commit comments