CmdStanPy

Stan 的 Python 接口,适合在 Python 工作流中运行贝叶斯模型。

详细介绍

CmdStanPy 是 Stan 官方 Python 接口,可在 Python 环境中编译和运行 Stan 模型,进行贝叶斯推断、MCMC 采样和模型诊断。它适合 Python 用户进行贝叶斯建模和统计分析。

适用场景:Stan Python 接口、贝叶斯建模、MCMC、Python 统计、模型诊断

注意:需要安装 CmdStan,并理解 Stan 模型语法和采样诊断。