Skip to content

Commit 490f6b0

Browse files
wip
1 parent f49e400 commit 490f6b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/APLRRegressor.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1452,7 +1452,7 @@ void APLRRegressor::calculate_and_validate_validation_error(size_t boosting_step
14521452
if (validation_error_is_invalid)
14531453
{
14541454
abort_boosting = true;
1455-
std::string warning_message{"Warning: Encountered numerical problems when calculating validation error in the previous boosting step. Not continuing with further boosting steps. One potential reason is if the combination of loss_function and link_function is invalid."};
1455+
std::string warning_message{"Warning: Encountered numerical problems when calculating validation error in the previous boosting step. Not continuing with further boosting steps. One potential reason is if the combination of loss_function and link_function is invalid. Another potential reason could be that too many observations have zero sample_weight."};
14561456
std::cout << warning_message << "\n";
14571457
}
14581458
}

0 commit comments

Comments
 (0)