PyStan:Python 语言中用于调用 Stan 的接口/库,主要用于贝叶斯统计建模与概率编程(例如用 MCMC 方法进行参数推断)。也常被理解为“在 Python 里使用 Stan”的整体工具链之一。(注:Stan 生态中也有其他接口,如 CmdStanPy。)
/ˈpaɪstæn/
I used PyStan to fit a Bayesian regression model.
我用 PyStan 拟合了一个贝叶斯回归模型。
After specifying the model in Stan, she ran PyStan in Python to sample the posterior and check convergence diagnostics.
在用 Stan 写好模型之后,她在 Python 里通过 PyStan 对后验分布进行采样,并检查收敛诊断指标。
PyStan 由 **Py-**(Python 的常见缩写前缀)+ Stan(一个用于统计建模与高效采样的概率编程语言/平台)组合而来,字面意思就是“Python 版的 Stan 接口”。