文档说:
XGBoost 中使用的数据矩阵。DMatrix 是 XGBoost 使用的内部数据结构,它针对内存效率和训练速度进行了优化。您可以从多个不同的数据源构建 DMatrix。
我明白了这一点,但是 DMatrix 与 Pandas Dataframe 有什么区别/用途?
python machine-learning xgboost
machine-learning ×1
python ×1
xgboost ×1