更新日志
你可以在GitHub releases中找到最新的更改
0.15.1 (2024年4月)
此版本修复了macOS上的构建失败以及
UpliftTreeClassifier中的一些错误。我们有两位新的贡献者,@lee-junseok 和 @IanDelbridge。感谢你们的贡献!
更新
放宽
pandas版本要求,由 @jeongyoonlee 在 https://github.com/uber/causalml/pull/743 中提交在
match.__main__()中移除未定义的变量,由 @jeongyoonlee 在 https://github.com/uber/causalml/pull/749 中提交修复
distr_plot_single_sim()由 @jeongyoonlee 在 https://github.com/uber/causalml/pull/750添加
with_std,with_counts到create_table_one由 @lee-junseok 在 https://github.com/uber/causalml/pull/748修复由@IanDelbridge在https://github.com/uber/causalml/pull/756中提出的分层抽样调用问题
20240207 诚实的叶子大小由 @IanDelbridge 在 https://github.com/uber/causalml/pull/753
757: 在敏感性分析中添加
return_ci=True由 @lee-junseok 在 https://github.com/uber/causalml/pull/758通过@jeongyoonlee在https://github.com/uber/causalml/pull/759中更新了更多元学习器的敏感性测试
手动指定在
setup.py中使用fork的multiprocessing,由@IanDelbridge在https://github.com/uber/causalml/pull/754中提出
新贡献者
@lee-junseok 在 https://github.com/uber/causalml/pull/748 上做出了他们的第一次贡献
@IanDelbridge 在 https://github.com/uber/causalml/pull/756 上做出了他们的第一次贡献
0.15.0 (2024年2月)
在此版本中,除了修复了大量错误外,我们还改进了文档,清理了依赖项,并改进了安装过程。
我们有三位新的贡献者,@peterloleungyau、@SuperBo 和 @ZiJiaW,他们向 CausalML 提交了他们的第一个 PR。@erikcs 也为 @ras44 的 PR #729 做出了贡献,将他的 MAQ 实现的包装器添加到 CausalML 中。感谢你们的贡献!
更新
由 @jeongyoonlee 更新 python-publish.yml 在 https://github.com/uber/causalml/pull/673
在 https://github.com/uber/causalml/pull/676 中,由 @jeongyoonlee 添加了 build.[os, tools.python] 到 .readthedocs.yml
通过@alexander-pv在https://github.com/uber/causalml/pull/683更新了带有因果树解释的笔记本示例
移除pyproject.toml中对numpy和pandas版本的版本限制,由@jeongyoonlee在https://github.com/uber/causalml/pull/681中提交
由@jeongyoonlee在https://github.com/uber/causalml/pull/688中添加治理文档
由 @ras44 更新 GOVERNANCE.md 在 https://github.com/uber/causalml/pull/691
由@ras44在https://github.com/uber/causalml/pull/693中将Dev/治理文档转换为蛇形命名法
通过 @alexander-pv 在 https://github.com/uber/causalml/pull/686 中减少 causalml 对 sklearn 的依赖
由 @jeongyoonlee 更新 MAINTAINERS.md 在 https://github.com/uber/causalml/pull/696
修改以加速UpliftTreeClassifier.growDecisionTreeFrom。由@peterloleungyau在https://github.com/uber/causalml/pull/695
由 @ras44 更新 README.md 在 https://github.com/uber/causalml/pull/698
通过 @jeongyoonlee 在 https://github.com/uber/causalml/pull/697 中添加笔记本示例到文档中
解决了由@ras44在https://github.com/uber/causalml/pull/701中提出的#166变更请求
修复由@jeongyoonlee在https://github.com/uber/causalml/pull/702中引起的readthedocs构建错误
在树中使用cpp堆栈/堆方法替换Stack和PriorityHeap,由@SuperBo在https://github.com/uber/causalml/pull/700中提交
由 @jeongyoonlee 在 https://github.com/uber/causalml/pull/705 中为 #701 提供的热修复
由 @ras44 在 https://github.com/uber/causalml/pull/710 中修复的 Dev/699 win 构建问题
通过 @ZiJiaW 在 https://github.com/uber/causalml/pull/714 中为 rlearner 暴露 n_jobs 参数
最小修复以解决由@ras44在https://github.com/uber/causalml/pull/720中提出的#707问题
通过 @cclauss 在 https://github.com/uber/causalml/pull/454 中添加 Python 3.10、3.11、3.12 到测试中
在https://github.com/uber/causalml/pull/726中,由@jeongyoonlee移除了python-test.yaml中的Python 3.12构建测试。
修复 plot_std_diffs,添加 bal_tol,通过 @ras44 在 https://github.com/uber/causalml/pull/723 中合并为一个图
由 @ras44 在 https://github.com/uber/causalml/pull/725 提交的 Dev/677 文档
由@ras44在https://github.com/uber/causalml/pull/728中更新的文档
解决了 #730,由 @ras44 在 https://github.com/uber/causalml/pull/731 中清理了 conda 安装文档
由 @ras44 在 https://github.com/uber/causalml/pull/729 中提出的 MAQ #662 的最小封装
临时修复因果树缺失值支持 #733 由 @alexander-pv 在 https://github.com/uber/causalml/pull/734
解决了 #639,感谢 @ras44 在 https://github.com/uber/causalml/pull/722 中提到的 Dong Liu 的贡献。
新贡献者
@peterloleungyau 在 https://github.com/uber/causalml/pull/695 上做出了他们的第一次贡献
@SuperBo 在 https://github.com/uber/causalml/pull/700 上做出了他们的第一次贡献
@ZiJiaW 在 https://github.com/uber/causalml/pull/714 上做出了他们的第一次贡献
0.14.1 (2023年8月)
此版本主要解决了安装问题并相应地更新了文档。
我们有4位新的贡献者。@bsaunders27, @xhulianoThe1, @zpppy, 和 @bsaunders23。感谢你们的贡献!
更新
更新python-publish工作流文件以修复包发布Gi… 由@jeongyoonlee在https://github.com/uber/causalml/pull/633
由@alexander-pv更新Cython依赖,详情请见https://github.com/uber/causalml/pull/640
由 @bsaunders27 在 https://github.com/uber/causalml/pull/641 中修复了在 Mac M1 基础设施上的构建问题。
由 @xhulianoThe1 在 https://github.com/uber/causalml/pull/634 进行的代码清理
支持有效的错误早期停止,由 @zpppy 在 https://github.com/uber/causalml/pull/614 中实现
修复:更新到
envs/conda构建,用于预编译的M1安装,由@bsaunders27在https://github.com/uber/causalml/pull/646中提交由 @ras44 在 https://github.com/uber/causalml/pull/637 中对 README 和 .github/workflows 进行了安装更新。
修复:由 @bsaunders23 在 https://github.com/uber/causalml/pull/656 中模拟随机试验
由 @vincewu51 在 https://github.com/uber/causalml/pull/660 提出的问题 252
ras44/651 图形可视化,由 @ras44 在 https://github.com/uber/causalml/pull/661 中解决了 #651
由 @ras44 使用 black 进行代码格式化,详情见 https://github.com/uber/causalml/pull/663
修复由@vincewu51在https://github.com/uber/causalml/pull/659中提出的问题650
在工作流构建中安装graphviz,由@jeongyoonlee在https://github.com/uber/causalml/pull/668中完成。
更新 docs/installation.rst 由 @jeongyoonlee 在 https://github.com/uber/causalml/pull/667
由@jeongyoonlee安排的每月PyPI安装测试在https://github.com/uber/causalml/pull/670
新贡献者
@bsaunders27 在 https://github.com/uber/causalml/pull/641 上做出了他们的第一次贡献
@xhulianoThe1 在 https://github.com/uber/causalml/pull/634 上做出了他们的第一次贡献
@zpppy 在 https://github.com/uber/causalml/pull/614 上做出了他们的第一次贡献
@bsaunders23 在 https://github.com/uber/causalml/pull/656 上做出了他们的第一次贡献
0.14.0 (2023年7月)
CausalML在PyPI上的下载量超过了2百万次,在GitHub上获得了4,100颗星。感谢您选择CausalML并在GitHub上支持我们。
我们有7位新的贡献者:@darthtrevino, @ras44, @AbhishekVermaDH, @joel-mcmurry, @AlxClt, @kklein, 和 @volico。感谢你们的贡献!
更新
修复由@jeongyoonlee在https://github.com/uber/causalml/pull/545中引起的readthedocs构建失败
添加
pyproject.toml以包含基本的构建依赖项,以符合 PEP518 标准,由 @darthtrevino 在 https://github.com/uber/causalml/pull/553 中提交在
environment-py38.yml中将numpy从1.20.3升级到1.23.2 #338 由 @ras44 在 https://github.com/uber/causalml/pull/550CausalTree 分割标准修复和拟合优化由 @alexander-pv 在 https://github.com/uber/causalml/pull/557
修复数学符号以便正确渲染,由 @AbhishekVermaDH 在 https://github.com/uber/causalml/pull/558 中提交
更新
methodology.rst由 @joel-mcmurry 在 https://github.com/uber/causalml/pull/568因果树引导和
max_leaf_nodes修复,由@alexander-pv在https://github.com/uber/causalml/pull/583进行了小幅更新修复 #596 由 @AlxClt 在 https://github.com/uber/causalml/pull/597
添加
**kwargs到Explainer.plot_shap_values()由 @jeongyoonlee 在 https://github.com/uber/causalml/pull/603在DragonNet中使Adam优化可选,并使学习率/epochs可配置,由@jeongyoonlee在https://github.com/uber/causalml/pull/604中实现
修复了drivlearner中方差计算的错误。由@huigangchen在https://github.com/uber/causalml/pull/606中提交。
Dragonnet中的Bug修复:Adam参数名称lr折旧由@huigangchen在https://github.com/uber/causalml/pull/617
修复在使用
numpy>=1.24和pandas>=2.0构建时出现的AttributeError,由@jeongyoonlee在https://github.com/uber/causalml/pull/631中提交在基础元学习器的
plot_shap_values中传递**kwargs,由 @kklein 在 https://github.com/uber/causalml/pull/627 中提交。将
scipy从 1.4.1 升级到 1.10.0,由 @dependabot 在 https://github.com/uber/causalml/pull/629 提交由@volico在https://github.com/uber/causalml/pull/570中提出的特征/ttest标准
由@jroessler在https://github.com/uber/causalml/pull/562中添加了交互树(IT)、因果推理树(CIT)和不变DDP(IDDP)。
因果树选项通过 @alexander-pv 返回反事实结果,详见 https://github.com/uber/causalml/pull/623
新贡献者
@darthtrevino 在 https://github.com/uber/causalml/pull/553 上做出了他们的第一次贡献
@ras44 在 https://github.com/uber/causalml/pull/550 上做出了他们的第一次贡献
@AbhishekVermaDH 在 https://github.com/uber/causalml/pull/558 上做出了他们的第一次贡献
@joel-mcmurry 在 https://github.com/uber/causalml/pull/568 上做出了他们的第一次贡献
@AlxClt 在 https://github.com/uber/causalml/pull/597 上做出了他们的第一次贡献
@kklein 在 https://github.com/uber/causalml/pull/627 上做出了他们的第一次贡献
@volico 在 https://github.com/uber/causalml/pull/570 上做出了他们的第一次贡献
0.13.0 (2022年9月)
CausalML在PyPI上的下载量超过了1百万次,在GitHub上获得了3,200颗星。感谢您选择CausalML并在GitHub上支持我们。
我们有7位新的贡献者@saiwing-yeung, @lixuan12315, @aldenrogers, @vincewu51, @AlkanSte, @enzoliao, 和 @alexander-pv。感谢你们的贡献!
@alexander-pv 改进了 CausalTreeRegressor 并添加了 CausalRandomForestRegressor,使其与 scikit-learn 的 Cython 树模块集成更加无缝。他还添加了与 shap 的集成,用于因果树/随机森林的解释。请查看 示例笔记本。
我们放弃了对Python 3.6的支持,并移除了其测试工作流程。
更新
修复拼写错误
(% -> $)由 @saiwing-yeung 在 https://github.com/uber/causalml/pull/488添加用于计算PNS界限的函数,由@t-tte在https://github.com/uber/causalml/pull/482中提交
修复由@t-tte在https://github.com/uber/causalml/pull/492中提出的硬编码错误
更新了由@ppstacy在https://github.com/uber/causalml/pull/485中关于
conda安装的README和在conda-forge中的维护说明。更新
examples.rst由 @lixuan12315 在 https://github.com/uber/causalml/pull/496修复了由@jeongyoonlee在https://github.com/uber/causalml/pull/504中
XGBRRegressor中不正确的effect_learner_objective修复过滤器 F 不适用于最新的
statsmodels的 F 检验 f 值格式,由 @paullo0106 在 https://github.com/uber/causalml/pull/505 中提交在https://github.com/uber/causalml/pull/508中由@aldenrogers排除
setup.py中的测试通过@zhenyuz0500在https://github.com/uber/causalml/pull/509中启用F过滤器和LR过滤器的高阶特征重要性功能。
由 @vincewu51 在 https://github.com/uber/causalml/pull/511 进行了预训练 0506
更新
methodology.rst由 @AlkanSte 在 https://github.com/uber/causalml/pull/518修复由@enzoliao在https://github.com/uber/causalml/pull/520中提出的多个模型在qini中结果不正确的问题。
测试
get_qini()由 @enzoliao 在 https://github.com/uber/causalml/pull/523修复了由 @jroessler 在
uplift_trees_with_synthetic_data.ipynb中的拼写错误,详情见 https://github.com/uber/causalml/pull/531由@jeongyoonlee在工作流中移除Python 3.6测试 https://github.com/uber/causalml/pull/535
因果树更新由 @alexander-pv 在 https://github.com/uber/causalml/pull/522
因果树解释示例由 @alexander-pv 在 https://github.com/uber/causalml/pull/536
0.12.3 (2022年2月)
此补丁是为了发布一个版本,解除Shap在Conda中使用的限制。
更新
#483 by @ppstacy: 修改Shap的需求版本
0.12.2 (2022年2月)
此补丁包括由@tonkolviktor和@heiderich提供的三个更新。我们还将开始使用black,一个Python格式化工具。请查看更新的贡献指南以了解如何使用它。
更新
0.12.1 (2022年2月)
此补丁包括对UpliftRandomForestClassifier的两个错误修复,如下所示:
更新
0.12.0 (2022年1月)
我们有4位新的社区贡献者,Luis (@lgmoneda)、Ravi (@raviksharma)、Louis (@LouisHernandez17) 和 JackRab (@JackRab)。感谢他们的贡献!
我们使用Cython对UpliftTreeClassifier/UpliftRandomForestClassifier进行了重构和加速,速度提升了5倍 (#422 #440 by @jeongyoonlee)
我们改进了我们的API文档,现在包括最新的方法、参考、安装、笔记本示例和图表!(#413 by @huigangchen @t-tte @zhenyuz0500 @jeongyoonlee @paullo0106)
我们的团队在2021年麻省理工学院数字实验会议(CODE@MIT)、2021年因果数据科学会议和KDD 2021教程上进行了关于CausalML介绍和应用的演讲。如果您错过了,请查看!完整的出版物和演讲列表可以在这里找到。
更新
更新关于工具变量方法的文档 @huigangchen (#447)
添加基准模拟研究示例笔记本 by @t-tte (#443)
为R-learner添加sample_weight支持,由@paullo0106 (#425)
修复了由@jeongyoonlee在UpliftTreeClassifier中数值特征分箱不正确的问题 (#420)
更新论文、演讲和出版物信息到README和refs.bib,由@zhenyuz0500 (#410 #414 #433)
添加关于contributing.md文档的说明,由@jeongyoonlee提供 (#408)
修复由@paullo0106提供的错误特征重要性计算逻辑 (#406)
通过@paullo0106添加了对NearestNeighbors搜索的并行作业支持,使用n_jobs参数 (#389)
修复由@jroessler在simulate_randomized_trial中的bug (#385)
由 @ppstacy 添加 GA pytest 工作流 (#380)
0.11.0 (2021-07-28)
CausalML 超过了 2K stars!
我们有3位新的社区贡献者,Jannik (@jroessler)、Mohamed (@ibraaaa) 和 Leo (@lleiou)。感谢他们的贡献!
主要更新
小更新
修复了由@paullo0106在提升树中特征重要性计算不一致的问题 (#372)
修复了由@manojbalaji1提交的数据中存在NaN时过滤器方法失败的问题 (#367)
由@jeongyoonlee添加自动包发布 (#354)
修复由@jeongyoonlee在unit_selection优化中的拼写错误 (#347)
修复文档构建失败,由 @jeongyoonlee (#335)
将pandas输入转换为numpy在S/T/R学习者中,由@jeongyoonlee (#333)
在setup.py中将scikit-learn作为依赖项要求由@ibraaaa (#325)
修复了当将Outcome和Effect学习者传递给R-Learner时出现的AttributeError,由@paullo0106 (#320)
修复当KL散度过滤器没有正类时的错误,由@lleiou提交 (#311)
根据@maccam912的要求,在setup.py中为requirements.txt添加cython和numpy的版本 (#306)
0.10.0 (2021-02-18)
CausalML 下载量已超过 235,000 次!
我们有5位新的社区贡献者,Suraj (@surajiyer)、Harsh (@HarshCasper)、Manoj (@manojbalaji1)、Matthew (@maccam912) 和 Václav (@vaclavbelak)。感谢他们的贡献!
主要更新
小更新
通过@jeongyoonlee将propensity_learner添加到R-learner中 (#297)
添加BaseLearner类,供其他元学习器继承,避免代码重复,由@jeongyoonlee贡献 (#295)
修复由@paullo0106提出的Shap>=0.38.1的安装问题 (#287)
修复由@jeongyoonlee (#283) 引起的sklearn>= 0.24的导入错误
修复了由@surajiyer在Filter方法中对某些数据集出现的KeyError问题 (#281)
修复由@vaclavbelak提交的多个模型累积提升分数计算不一致的问题 (#273)
修复了由@manojbalaji1在特征选择方法中处理重复值的问题 (#271)
修复SHAP摘要图的颜色光谱,用于元学习者的特征解释,由@paullo0106 (#269)
添加IIA和价值优化相关文档 by @t-tte (#264)
修复StratifiedKFold参数以用于倾向得分估计,由@paullo0106贡献 (#262)
使用字符串格式参数重构代码,并比较对象类型,通过@harshcasper将不使用绑定实例的方法更改为静态方法(#256, #260)
0.9.0 (2020-10-23)
CausalML在UberML’20的海报展示环节中获得了一等奖
DoWhy 从 v0.4 开始集成了 CausalML (release note)
CausalML团队欢迎新的项目领导,Mert Bay
我们有4位新的社区贡献者,Mario Wijaya (@mwijaya3)、Harry Zhao (@deeplaunch)、Christophe (@ccrndn) 和 Georg Walther (@waltherg)。感谢他们的贡献!
主要更新
小更新
通过@waltherg实现通用接口的倾向模型抽象 (#223)
修复由 @yungmsh 和 @ppstacy 在 BaseSClassifier 和 BaseXClassifier 中的错误 (#217), (#218)
修复由@paullo0106提交的UpliftDecisionTrees的parentNodeSummary问题 (#238)
添加 pd.Series 用于倾向评分条件检查,由 @paullo0106 (#242)
修复由@ppstacy提出的uplift随机森林预测输出 (#236)
通过@mwijaya3为优化模块的初始化添加函数和方法 (#228)
安装 GitHub Stale App 以自动关闭不活跃的问题 @jeongyoonlee (#237)
0.8.0 (2020-07-17)
CausalML 超过了 100,000 次下载!感谢您的支持。
主要更新
小更新
0.7.1 (2020-05-07)
特别感谢我们的新社区贡献者,Katherine (@khof312)!
主要更新
小更新
0.7.0 (2020-02-28)
特别感谢我们的新社区贡献者,Steve (@steveyang90)!
主要更新
添加一个新的nn推理子模块,包含由@yungmsh实现的DragonNet。
添加一个新的特征选择子模块,包含由@zhenyuz0500提供的过滤特征选择方法
小更新
在所有元学习器中使倾向得分成为可选项,由@ppstacy提供
将eli5的排列重要性替换为sklearn的,由@yluogit提供
在propensity.py中将ElasticNetCV替换为LogisticRegressionCV,由@yungmsh完成
修复由@jeongyoonlee提供的负ATE的标准化提升曲线图
修复由 @steveyang90 提交的来自分叉仓库的 PR 的 TravisCI FOSSA 错误
添加关于树可视化的文档,由@zhenyuz0500提供
0.6.0 (2019-12-31)
特别感谢我们的新社区贡献者,Fritz (@fritzo)、Peter (@peterfoley) 和 Tomasz (@TomaszZamacinski)!
通过@jeongyoonlee将UpliftTreeClassifier的速度提高了4倍
修复由@TomaszZamacinski在CausalTreeRegressor中的杂质计算问题
修复由@peterfoley引起的XGBoost相关警告
修复拼写错误并改进文档,由 @peterfoley 和 @fritzo 提供
0.5.0 (2019-11-26)
特别感谢我们的新社区贡献者,Paul (@paullo0106) 和 Florian (@FlorianWilhelm)!
添加TMLELearner,目标最大似然估计器到inference.meta,由@huigangchen
为DGPs添加一个回归选项,以模拟不平衡的倾向分布,由@huigangchen提供
修复不正确的边缘连接,并在提升树图中添加更多信息 by @paullo0106
修复由@FlorianWilhelm提出的与Cython和numpy相关的安装错误
从setup.py中移除对Python 2的支持,由@jeongyoonlee完成
更新 causaltree.pyx Cython 代码以兼容 scikit-learn>=0.21.0,由 @jeongyoonlee 完成
0.4.0 (2019-10-21)
添加 uplift_tree_plot() 到 inference.tree 以可视化 UpliftTreeClassifier 由 @zhenyuz0500
将Explainer类添加到inference.meta中,以使用SHAP和eli5的PermutationImportance提供特征重要性,由@yungmsh提供
为元学习者的平均治疗效果估计添加自举置信区间,由@ppstacy提供
0.3.0 (2019-09-17)
扩展元学习器以支持分类 by @t-tte
扩展元学习器以支持多种治疗方法 by @yungmsh
修复了提升曲线中的一个错误,并由@jeongyoonlee将Qini曲线/分数添加到metrics中
添加 inference.meta.XGBRRegressor,带有早期停止和排名优化,由 @yluogit 提供
0.2.0 (2019-08-12)
0.1.0 (未发布)
初始发布包含Uplift Random Forest和S/T/X/R-learners。