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
@jzakrzew Thanks for getting to the source of the nan's! My guess is we just need to wrap that op in a check for that corner case. I'll look into here soon.
Environment info
Operating System: Linux
Compiler: gcc 8.1.1
Package used (python/R/jvm/C++): python
xgboost
version used: tried both 0.7 and 0.71python
version used: 3.6Steps to reproduce
run bug.py from nan-contribs.tar.gz to get the following output:
After some debugging, I discovered that the nans come from the UnwoundPathSum function in
xgboost/include/xgboost/tree_model.h:
xgboost/include/xgboost/tree_model.h
Lines 725 to 726 in 230cb9b
There, at some point, both
unique_path[i].pweight
andzero_fraction
happen to be zero.The text was updated successfully, but these errors were encountered: