GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - stan-dev/cmdstan: CmdStan, the command line interface to Stan

BranchesTags
Open more actions menu

Latest commit

 

History

3,901 Commits
3,901 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
examples/bernoulli
examples/bernoulli
 
 
lib/CLI11-1.9.1/CLI11
lib/CLI11-1.9.1/CLI11
 
 
make
make
 
 
src
src
 
 
stan @ c1f1d42
stan @ c1f1d42
 
 
.clang-format
.clang-format
 
 
.gitignore
.gitignore
 
 
.gitmodules
.gitmodules
 
 
Jenkinsfile
Jenkinsfile
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
RELEASE-NOTES.txt
RELEASE-NOTES.txt
 
 
install-tbb.bat
install-tbb.bat
 
 
makefile
makefile
 
 
runCmdStanTests.py
runCmdStanTests.py
 
 
test-all.sh
test-all.sh
 
 

Repository files navigation

Stan Logo

CmdStan

CmdStan is the command line interface to Stan, a package providing

  • full Bayesian inference using the No-U-Turn sampler (NUTS), a variant of Hamiltonian Monte Carlo (HMC),
  • penalized maximum likelihood estimation (MLE) using optimization, either Newton or quasi-Newton algorithms BFGS and L-BFGS,
  • approximate Bayesian inference using automatic differentiation variational inference (ADVI),
  • 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.

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 here on GitHub for interfaces:

  • CmdStan (command-line/shell interface)
  • CmdStanPy (a lightweight interface to CmdStan for Python users)
  • CmdStanR (a lightweight interface to CmdStan for R users)
  • PyStan (Python interface)
  • RStan (R interface)
  • MathematicaStan (Mathematica interface)

Source Repository

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

Licensing

The Stan-to-C++ compiler written in OCaml, core Stan C++ code, and CmdStan are licensed under new BSD.

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.

Installation

  1. Download the latest release tarball (use the "green" link) from: CmdStan releases
  2. Unpack the tarball.
  3. From the folder, type make for a quick tutorial on how to build models.

Installation using git

See Getting Started with CmdStan for instructions how to clone both CmdStan and Stan submodule.

Troubleshooting

As of version 2.22, CmdStan has switched to the new Stan-to-C++ compiler, called stanc3. This compiler is intended to be backwards compatible with the existing Stan language and should accept all models that compile under the release 2.21 compiler, (see this list of bug fixes).

If a model that compiled for versions prior to 2.22, please report a bug on the stanc3 repository. Otherwise, report the issue to the CmdStan repository.

About

CmdStan, the command line interface to Stan

mc-stan.org/users/interfaces/cmdstan

Resources

Readme
BSD-3-Clause license

Contributing

Contributing
Activity
Custom properties

Stars

240 stars

Watchers

35 watching

Forks

105 forks
Report repository

Releases

Sponsor this project

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.