You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The above PR made changes to the python package and tests to check the outputs of the custom gradient functions conform to the assumptions made by the LGBM_BoosterUpdateOneIterCustom C-API call.
Additionally, the C-API docs were updated to make it clear that it is the callers responsbility to provide correctly sized arrays to this library call.
The R package needs updating to include this safety check as well.
The text was updated successfully, but these errors were encountered:
jameslamb
changed the title
[R-package] Check length of gradient arrays from custom gradient functions
[R-package] Check size of custom objective function outputs
Dec 23, 2021
#4815
The above PR made changes to the python package and tests to check the outputs of the custom gradient functions conform to the assumptions made by the
LGBM_BoosterUpdateOneIterCustom
C-API call.Additionally, the C-API docs were updated to make it clear that it is the callers responsbility to provide correctly sized arrays to this library call.
The R package needs updating to include this safety check as well.
The text was updated successfully, but these errors were encountered: