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
I have encountered an issue when attempting to perform cross-validation using the xgboost.cv function with a QuantileDMatrix as input. The operation results in the following error:
Attempt to perform cross-validation using xgboost.cv with this QuantileDMatrix.
Expected Behavior:
The xgboost.cv function should either:
Support cross-validation with QuantileDMatrix.
Clearly document that QuantileDMatrix is incompatible with xgboost.cv and provide guidance on alternative approaches.
Environment Details:
XGBoost version: 2.1.3
Python version: 3.10
Operating System: ubuntu 24
Additional Information:
This issue arises because QuantileDMatrix does not support slicing operations, which are integral to the cross-validation process in xgboost.cv. While alternative approaches exist, such as using the standard DMatrix or implementing custom cross-validation, it would be beneficial for users if the library either supported this functionality or provided clear documentation regarding this limitation.
The text was updated successfully, but these errors were encountered:
I have encountered an issue when attempting to perform cross-validation using the
xgboost.cv
function with aQuantileDMatrix
as input. The operation results in the following error:Steps to Reproduce:
QuantileDMatrix
from a dataset.xgboost.cv
with thisQuantileDMatrix
.Expected Behavior:
The
xgboost.cv
function should either:QuantileDMatrix
.QuantileDMatrix
is incompatible withxgboost.cv
and provide guidance on alternative approaches.Environment Details:
Additional Information:
This issue arises because
QuantileDMatrix
does not support slicing operations, which are integral to the cross-validation process inxgboost.cv
. While alternative approaches exist, such as using the standardDMatrix
or implementing custom cross-validation, it would be beneficial for users if the library either supported this functionality or provided clear documentation regarding this limitation.The text was updated successfully, but these errors were encountered: