根据GBM与xgboost与LightGBM(https://www.kaggle.com/nschneider/gbm-vs-xgboost-vs-lightgbm)的基准测试,可以使用参数
实现xgboosttree_method = 'hist'
在R。
但这样做总会给我一个错误:
Error in xgb.iter.update(bst$handle, dtrain, iteration - 1, obj) :
Invalid Input: 'hist', valid values are: {'approx', 'auto', 'exact'}
我错过了什么?