我想检查DMatrix对象。该文档提到了获取行数和列数以及每行切片的方法:
DMatrix
dmatrix.slice(index)
但我想使用 numpy 做更复杂的转换。有没有一种简单的方法可以将 转换DMatrix为 numpy 数组?
python arrays numpy xgboost
arrays ×1
numpy ×1
python ×1
xgboost ×1