stochaskell-1.0.0: A probabilistic programming language

Copyright(c) David A Roberts 2015-2021
LicenseGPL-3
Maintainerd@vidr.cc
Stabilityexperimental
Safe HaskellNone
LanguageHaskell2010

Language.Stan

Description

 
Synopsis

Documentation

data StanHMCEngine #

Constructors

StanStaticHMCEngine 

Fields

StanNUTSEngine 

Fields

Instances
Show StanHMCEngine # 
Instance details

Defined in Language.Stan

hmcStan :: ExprTuple t => Int -> P t -> IO [t] #

perform Hamiltonian Monte Carlo inference on the given posterior program, via the Stan code generation backend, returning the given number of samples

see runStan for a more advanced interface

hmcStanInit :: ExprTuple t => Int -> P t -> t -> IO [t] #

like hmcStan but specifying the initial MC state

runStan :: ExprTuple t => StanMethod -> P t -> Maybe t -> IO [t] #

perform inference via the Stan code generation backend