xgboost 并行调参
2017-05-10 10:40 xplorerthik 阅读(873) 评论(0) 收藏 举报Parallelism When Cross Validating XGBoost Models
This raises the question as to how cross validation should be configured:
- Disable multi-threading support in XGBoost and allow cross validation to run on all cores.
- Disable multi-threading support in cross validation and allow XGBoost to run on all cores.
- Enable multi-threading support for both XGBoost and Cross validation
结果"
Single Thread XGBoost, Parallel Thread CV: 359.854589 单线程xgboost, 并行线程交叉验证CV
Parallel Thread XGBoost, Single Thread CV: 330.498101 并行线程xgboost&单线程CV 比 单线程xgboost&并行线程交叉验证快
Parallel Thread XGBoost and CV: 313.382301
参考:
http://www.tuicool.com/articles/RR7fArV
浙公网安备 33010602011771号