gbrt(gbdt)源码分享
来源:互联网 发布:软件项目管理软件书籍 编辑:程序博客网 时间:2024/06/06 04:36
GBDT(Gradient Boost Decision Tree) 目前是工业界最为流行的机器学习工具之一,我最近依据一些开源实现,写了一个精简版的gbrt,也就是(Gradient Boost Regression Tree),因为在我们的应用中,基本上都是在解决rank的问题,一般只需要regression就可以了。
这个版本主要的特点就是代码逻辑简单,并且使用了tbb的并行库对于多核进行优化(其他的并行库一装一大堆,实在不好用,tbb的so也就1兆而已),该版本发布在了google code上:http://code.google.com/p/simple-gbdt/
使用说明:
it is simple implement of gbdt(actually gradient boost regression tree)--compared to others, parallelization with tbb lib.this project can be easily used in regression problem or point wise learning to rank problem(l2r), and can be good material to know about gbdt.there are several more features:1. support data sample configure2. using tbb lib for parallelization(http://threadingbuildingblocks.org/)3. empty features in l2r data will be skipped (to avoid unnecessary cost)4. support two input format(l2r format and cvs format)Usage:-i input file-f [cvs, l2r] input format , default 'l2r'-c gbrt model config file , default './gbrt.conf' -t or -p act type(t for train,p for predict): -m model file , default './gbrt.model' -d max dimention(only for L2R format) --------------------------------------Example train example: ./gbrt -t -i train_l2r.dat -d 415predict example: ./gbrt -p -i test_l2r.dat -d 415 -m gbrt.model--------------------------------------Input Format:l2r: "-1 qid:1234 1:1 3:1 8:1"cvs: "1,3,-1" last column is label--------------------------------------Configure Example:max_tree_leafes=20feature_subspace_size=40use_opt_splitpoint=truelearn_rate=0.01data_sample_ratio=0.4
- gbrt(gbdt)源码分享
- GBDT、GBRT
- GBRT/GBDT算法实例
- GBDT&GBRT与XGBoost
- 决策树(CART)、随机森林、GBDT(GBRT)新手导读及资料推荐,附加python实现代码
- RankLib源码分析---MART(GBRT)
- 从boost到Adaboost再到GBRT-GBDT-MART
- sklearn.GBDT 源码解读(宏观把握)
- sklearn.GBDT 源码阅读(细节掌握)
- Gradient Tree Boosting (GBM, GBRT, GBDT, MART)算法解析和基于XGBoost/Scikit-learn的实现
- GBDT源码剖析
- gbdt-源码分析
- gbdt源码阅读
- GBDT源码分析和注释
- sklearn的GBDT源码笔记
- 源码分享(一)
- 源码分享(二)
- 阿里大数据比赛sesson2_RF&GBRT(上)
- qtp 的dom使用
- Mongo官方文档翻译 (二)
- rootviewcontroller modify
- 订票助手开发者:用自己的方式来让世界公平一点
- 关闭Linux系统下不必要的服务
- gbrt(gbdt)源码分享
- Java中的TCP/UDP网络通信编程
- hdu 2846
- OANET(二):Qt安装
- hdu 1251
- VC++2008中基于对话框GDI+的图像显示
- 最新的技术趋势
- javascript 实现左移右移上移下移(厦门_小鱼儿_^1^)
- Tomcat配置SSL协议 支持https