在R中使用tree_method ='hist'的xgboost

时间:2017-10-11 10:25:31

标签: r xgboost kaggle lightgbm

根据GBM与xgboost与LightGBM(https://www.kaggle.com/nschneider/gbm-vs-xgboost-vs-lightgbm)的基准测试,可以使用参数

实现xgboost
tree_method = 'hist' 

在R。

但这样做总会给我一个错误:

Error in xgb.iter.update(bst$handle, dtrain, iteration - 1, obj) : 
Invalid Input: 'hist', valid values are: {'approx', 'auto', 'exact'}

我错过了什么?

0 个答案:

没有答案