Technology Radar
Published : Oct 27, 2021
NOT ON THE CURRENT EDITION
This blip is not on the current edition of the Radar. If it was on one of the last few editions, it is likely that it is still relevant. If the blip is older, it might no longer be relevant and our assessment might be different today. Unfortunately, we simply don't have the bandwidth to continuously review blips from previous editions of the Radar.
Understand more
Oct 2021
Trial
DoWhy 是一个 Python 库,用于执行端到端的因果推理和分析。尽管利用当时存在的变量的相关性,机器学习模型可以根据事实数据进行预测。但在我们需要问如果和为什么问题的场景中,它们是不够的。如果一个变量改变了呢?对结果会有什么影响?因果推理是回答此类问题的一种方法。它估计了因果效应,也就是说,如果我们改变一个原因变量,结果会发生多大的变化。由于实验的成本或限制,当我们无法通过观察和收集 A/B 测试的数据来得出答案时,就可以采用这种方法。基于使用过去收集的事实和数据以及人们可以在了解领域时做出的假设,DoWhy 库对因果效应进行估计。它使用了一个四步流程,即根据假设对因果关系图进行建模,确定结果的原因,估计因果效应,最后通过反驳结果来挑战这些假设。我们已经在生产中成功地使用了这个库,它是因果估计用例中常用的库之一。