stochtree is a C++ library for Bayesian tree ensemble models such as BART and Bayesian Causal Forests (BCF), as well as user-specified variations. Unlike previous BART packages, stochtree provides bindings to both R and Python for full interoperability. stochtree boasts a more comprehensive range of models relative to previous packages, including heteroskedastic forests, random effects, and treed linear models. Additionally, stochtree offers flexible handling of model fits: the ability to save model fits, reinitialize models from existing fits (facilitating improved model initialization heuristics), and pass fits between R and Python. On both platforms, stochtree exposes lower-level functionality, allowing users to specify models incorporating Bayesian tree ensembles without needing to modify C++ code. We illustrate the use of stochtree in three settings: i) straightfoward applications of existing models such as BART and BCF, ii) models that include more sophisticated components like heteroskedasticity and leaf-wise regression models, and iii) as a component of custom MCMC routines to fit nonstandard tree ensemble models.


翻译:stochtree是一个用于贝叶斯树集成模型(如BART和贝叶斯因果森林(BCF))以及用户自定义变体的C++库。与以往的BART软件包不同,stochtree同时提供R和Python的接口绑定,实现了完全的互操作性。相较于先前软件包,stochtree提供了更全面的模型范围,包括异方差森林、随机效应以及树状线性模型。此外,stochtree支持灵活的模型拟合处理:能够保存模型拟合结果、从现有拟合重新初始化模型(便于改进模型初始化启发式算法),以及在R和Python之间传递拟合结果。在两个平台上,stochtree均开放了底层功能接口,使用户能够在不修改C++代码的情况下构建包含贝叶斯树集成的模型。我们通过三种场景展示stochtree的应用:i) 现有模型(如BART和BCF)的直接应用,ii) 包含异方差性和叶节点回归模型等复杂组件的模型,iii) 作为自定义MCMC流程的组成部分以拟合非标准树集成模型。

0
下载
关闭预览

相关内容

掌握使用Python的大型语言模型
专知会员服务
63+阅读 · 2024年5月22日
【2023新书】贝叶斯统计建模:使用Stan、R和Python,395页pdf
TensorFlowLite:端侧机器学习框架
专知会员服务
33+阅读 · 2020年8月27日
【GitHub】BERT模型从训练到部署全流程
专知
34+阅读 · 2019年6月28日
基于PyTorch/TorchText的自然语言处理库
专知
28+阅读 · 2019年4月22日
Github项目推荐 | gensim - Python中的主题建模
AI研习社
15+阅读 · 2019年3月16日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
14+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
1+阅读 · 2014年12月31日
国家自然科学基金
4+阅读 · 2014年12月31日
国家自然科学基金
1+阅读 · 2014年12月31日
国家自然科学基金
17+阅读 · 2008年12月31日
VIP会员
最新内容
最新“指挥控制”领域出版物合集(16份)
专知会员服务
7+阅读 · 4月12日
面向军事作战需求开发的人工智能(RAIMOND)
专知会员服务
13+阅读 · 4月12日
远程空中优势:新一代超视距导弹的兴起
专知会员服务
2+阅读 · 4月12日
大语言模型溯因推理的统一分类学与综述
专知会员服务
3+阅读 · 4月12日
相关VIP内容
掌握使用Python的大型语言模型
专知会员服务
63+阅读 · 2024年5月22日
【2023新书】贝叶斯统计建模:使用Stan、R和Python,395页pdf
TensorFlowLite:端侧机器学习框架
专知会员服务
33+阅读 · 2020年8月27日
相关基金
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
14+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
1+阅读 · 2014年12月31日
国家自然科学基金
4+阅读 · 2014年12月31日
国家自然科学基金
1+阅读 · 2014年12月31日
国家自然科学基金
17+阅读 · 2008年12月31日
Top
微信扫码咨询专知VIP会员