计算机科学 > 程序设计语言
[提交于 2020年5月24日 (v1),最后修订于 2020年5月28日 (此版本, v3)]
标题:miniKanren as a Tool for Symbolic Computation in Python
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:In this article, we give a brief overview of the current state and future potential of symbolic computation within the Python statistical modeling and machine learning community. We detail the use of miniKanren as an underlying framework for term rewriting and symbolic mathematics, as well as its ability to orchestrate the use of existing Python libraries. We also discuss the relevance and potential of relational programming for implementing more robust, portable, domain-specific "math-level" optimizations--with a slight focus on Bayesian modeling. Finally, we describe the work going forward and raise some questions regarding potential cross-overs between statistical modeling and programming language theory.