Giter Site home page Giter Site logo

jsocolar / cmdstan Goto Github PK

View Code? Open in Web Editor NEW

This project forked from stan-dev/cmdstan

0.0 0.0 0.0 147.32 MB

CmdStan, the command line interface to Stan

Home Page: https://mc-stan.org/users/interfaces/cmdstan

License: BSD 3-Clause "New" or "Revised" License

R 0.01% Makefile 0.86% Python 0.47% C++ 96.77% Shell 0.04% Stan 0.22% C 1.31% Batchfile 0.03% Objective-C 0.29%

cmdstan's Introduction

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)

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.

cmdstan's People

Contributors

stan-buildbot avatar syclik avatar mitzimorris avatar rok-cesnovar avatar seantalts avatar serban-nicusor-toptal avatar stevebronder avatar wds15 avatar weberse2 avatar bbbales2 avatar akucukelbir avatar betanalpha avatar yashikno avatar dustinvtran avatar mbrubake avatar bgoodri avatar mcol avatar avehtari avatar ahartikainen avatar danluu avatar jjramsey avatar jsocolar avatar jgabry avatar peterli2016 avatar maverickg avatar mortonjt avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.