Skip to content

Commit 5ce0a66

Browse files
changed error message
1 parent d462fc9 commit 5ce0a66

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
@@ -743,7 +743,7 @@ void APLRRegressor::select_the_best_term_and_update_errors(size_t boosting_step)
743743
std::string warning_message{"Warning: Encountered numerical problems when calculating prediction errors in the previous boosting step. Not continuing with further boosting steps."};
744744
bool show_additional_warning{family=="poisson" || family=="tweedie" || family=="gamma" || (link_function!="identity" && link_function!="logit")};
745745
if(show_additional_warning)
746-
warning_message+=" A reason may be too large response values.";
746+
warning_message+=" For this combination of family and link_function, a reason may be too large or too small response values.";
747747
std::cout<<warning_message<<"\n";
748748
}
749749
}

0 commit comments

Comments
 (0)