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.Edward

Description

 
Synopsis

Documentation

hmcEdward :: (ExprTuple t, Read t) => Int -> Int -> Double -> P t -> Maybe t -> IO [t] #

hmcEdward numSamples numSteps stepSize program initialState

perform Hamiltonian Monte Carlo inference via the Edward code generation backend

edProgram :: ExprTuple t => Int -> Int -> Double -> P t -> Maybe t -> String #

generate Edward code, as used by hmcEdward