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
base_margin is not passed down to test / train data during cross-validation.
On the other hand other setinfo attributes such as weights and labels are passed down and handled properly (split into test / train sets).
Most likely the problem occurs when calling slice in xgb.cv, which can be traced down to these lines, where we can see that weights and labels are copied, but not base_margin. Presumabely this is a very quick fix, would it be possible to add a line to copy base_margin?
On latest version of the R package.
base_margin
is not passed down to test / train data during cross-validation.On the other hand other setinfo attributes such as
weights
andlabels
are passed down and handled properly (split into test / train sets).Most likely the problem occurs when calling
slice
inxgb.cv
, which can be traced down to these lines, where we can see thatweights
andlabels
are copied, but notbase_margin
. Presumabely this is a very quick fix, would it be possible to add a line to copy base_margin?xgboost/src/c_api/c_api.cc
Lines 397 to 405 in 7078c41
The text was updated successfully, but these errors were encountered: