Currently it's not possible to set custom attributes on the dtrain used by xgboost (e.g. "weight" for sample weights). This PR splits the current xgboost to add another entry point that allows the user to construct dtrain themselves and pass to xgboost directly
Currently it's not possible to set custom attributes on the
dtrain
used byxgboost
(e.g."weight"
for sample weights). This PR splits the currentxgboost
to add another entry point that allows the user to constructdtrain
themselves and pass toxgboost
directly