Py-Tetrad 和 RPy-Tetrad:面向 Tetrad 因果搜索的全新 Python 接口及 R 支持
Py-Tetrad and RPy-Tetrad: A New Python Interface with R Support for Tetrad Causal Search
AI总结:
本文介绍 Py-Tetrad 与 RPy-Tetrad,通过 JPype 和 Reticulate 为持续开发 30 余年的 Java Tetrad 因果搜索平台提供最新、易用的 Python 与 R 接口。
摘要:
我们为用于因果建模、搜索和估计的(Java)Tetrad 项目提供了新颖的 Python 和 R 接口。Tetrad 项目是相关文献中的核心工具,30 多年来持续开发。它的一些算法如今已成为经典,例如 PC 和 FCI;其他算法则是较新的研究成果。然而,研究人员越来越需要从 Python 或 R 访问底层 Java 代码。现有实现方式并不完善。我们利用 JPype Python-Java 接口和 Reticulate Python-R 接口提供了全新、最新的方法,直接解决这些问题。通过增加一些简单工具,并为 Python 和 R 提供可运行示例,使用 JPype 和 Reticulate 将 Python、R 与 Tetrad 连接变得直接且直观。
英文摘要:
We give novel Python and R interfaces for the (Java) Tetrad project for causal modeling, search, and estimation. The Tetrad project is a mainstay in the literature, having been under consistent development for over 30 years. Some of its algorithms are now classics, like PC and FCI; others are recent developments. It is increasingly the case, however, that researchers need to access the underlying Java code from Python or R. Existing methods for doing this are inadequate. We provide new, up-to-date methods using the JPype Python-Java interface and the Reticulate Python-R interface, directly solving these issues. With the addition of some simple tools and the provision of working examples for both Python and R, using JPype and Reticulate to interface Python and R with Tetrad is straightforward and intuitive.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。