Closed AldoGl closed 1 year ago
Merging #35 (37ab3e7) into main (03da1df) will decrease coverage by
0.03%
. The diff coverage is94.11%
.
- split the PR in two commits. The first one triggers the problem, the second one shows the fix. The final version is the same as the one submitted by @AldoGl.
- some lint fixes
Thank you for your help @muxator, merging now!
Proposed changes
Internally the XGBoost routine operates a conversion to float32, and this fails if the absolute values of the loss are exceedingly large. This commit adds a simple clipping operation before the loss values are passed to the XGBoost package.
Types of changes
What types of changes does your code introduce? Put an
x
in the boxes that applyChecklist
Put an
x
in the boxes that apply.