dmlc / XGBoost.jl

XGBoost Julia Package
Other
288 stars 110 forks source link

`WARNING: /workspace/srcdir/xgboost/src/learner.cc:1350: Empty dataset at worker: 0` #112

Open ericphanson opened 1 year ago

ericphanson commented 1 year ago

I'm seeing this warning printed over and over while evaluating an XGBoost model through MLJ (calling MLJBase.predict(...) on an XGBoostClassifier). Any hint what that could be?

ExpandingMan commented 1 year ago

This looks like the warning you get when you run a prediction on empty data, which I also find extremely annoying. This warning is called from the C lib.

I'm not above checking for empty data on the Julia side and eliding the call, though it's worth contemplating whether doing so would have unforeseen consequences.