stan

Stan development repository (home page is linked below). The master branch contains the current release. The develop branch contains the latest stable development. See the Developer Process Wiki for details.

Github星跟踪图

Stan is a C++ package providing

  • full Bayesian inference using the No-U-Turn sampler (NUTS), a variant of Hamiltonian Monte Carlo (HMC),
  • approximate Bayesian inference using automatic differentiation variational inference (ADVI), and
  • penalized maximum likelihood estimation (MLE) using L-BFGS optimization.

It is built on top of the Stan Math library, which provides

  • a full first- and higher-order automatic differentiation library based on C++ template overloads, and
  • a supporting fully-templated matrix, linear algebra, and probability special function library.

There are interfaces available in R, Python, MATLAB, Julia, Stata, Mathematica, and for the command line.

DOI

Home Page

Stan's home page, with links to everything you'll need to use Stan is:

http://mc-stan.org/

Interfaces

There are separate repositories in the stan-dev GitHub organization for the interfaces, higher-level libraries and lower-level libraries.

Source Repository

Stan's source-code repository is hosted here on GitHub.

Licensing

The Stan math library, core Stan code, and CmdStan are licensed under new BSD. RStan and PyStan are licensed under GPLv3, with other interfaces having other open-source licenses.

Note that the Stan math library depends on the Intel TBB library which is licensed under the Apache 2.0 license. This dependency implies an additional restriction as compared to the new BSD lincense alone. The Apache 2.0 license is incompatible with GPL-2 licensed code if distributed as a unitary binary. You may refer to the Apache 2.0 evaluation page on the Stan Math wiki.

主要指标

概览
名称与所有者stan-dev/stan
主编程语言C++
编程语言C++ (语言数: 6)
平台
许可证BSD 3-Clause "New" or "Revised" License
所有者活动
创建于2013-02-06 03:25:04
推送于2025-06-03 02:15:55
最后一次提交2024-12-10 13:46:09
发布数76
最新版本名称v2.36.0 (发布于 2024-12-10 13:46:36)
第一版名称v1.0.0 (发布于 2012-08-30 20:57:28)
用户参与
星数2.7k
关注者数120
派生数377
提交数17k
已启用问题?
问题数1724
打开的问题数133
拉请求数1323
打开的拉请求数11
关闭的拉请求数228
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?