BUG: missing **dmatrix_props in shape_interaction module #3510
Labels
awaiting feedback
Indicates that further information is required from the issue creator
bug
Indicates an unexpected problem or unintended behaviour
Issue Description
I have been using the new feature to handle categorial values in XGBoost.
However it does require to provide an attribute to the DMatrix function like this xgboost.DMatrix(X,enable_categorical=True)
In the main module i was able to 'fake' this by changing dmatrix_props externally to change the line
X=xgboost.DMatrix(X, **dmatrix_props)
However, the shape_interaction_values module only uses
X = xgboost.DMatrix(X)
hence its very difficult to use the XGboost feature.
do you think it would be possible to change the latter routine in the same way ?
also it would be nice if there is an API way to change dmatrix_props. i assume there is and i might just not see it ?
Minimal Reproducible Example
Traceback
No response
Expected Behavior
No response
Bug report checklist
Installed Versions
'0.44.0'
I am using OSX Sonoma and Python 3.9
The text was updated successfully, but these errors were encountered: