mcmc-0.3.0: Sample from a posterior using Markov chain Monte Carlo
Copyright(c) Dominik Schrempf 2020
LicenseGPL-3.0-or-later
Maintainerdominik.schrempf@gmail.com
Stabilityunstable
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Mcmc.Mcmc

Description

Creation date: Fri May 29 10:19:45 2020.

Functions to work with the Mcmc state transformer.

Synopsis

Documentation

type Mcmc a = StateT (Status a) IO Source #

An Mcmc state transformer; usually fiddling around with this type is not required, but it is used by the different inference algorithms.

mcmcOutB :: ByteString -> Mcmc a () Source #

Write to standard output and log file.

mcmcOutS :: String -> Mcmc a () Source #

Write to standard output and log file.

mcmcWarnB :: ByteString -> Mcmc a () Source #

Print warning message.

mcmcWarnS :: String -> Mcmc a () Source #

Print warning message.

mcmcInfoB :: ByteString -> Mcmc a () Source #

Print info message.

mcmcInfoS :: String -> Mcmc a () Source #

Print info message.

mcmcDebugB :: ByteString -> Mcmc a () Source #

Print debug message.

mcmcDebugS :: String -> Mcmc a () Source #

Print debug message.

mcmcAutotune :: Mcmc a () Source #

Auto tune the Proposals in the Cycle of the chain. Reset acceptance counts. See autotuneCycle.

mcmcClean :: Mcmc a () Source #

Clean the state.

mcmcResetA :: Mcmc a () Source #

Reset acceptance counts.

mcmcSummarizeCycle :: Mcmc a ByteString Source #

Print short summary of Proposals in Cycle. See summarizeCycle.

mcmcReport :: ToJSON a => Mcmc a () Source #

Report what is going to be done.

mcmcMonitorExec :: ToJSON a => Mcmc a () Source #

Execute the Monitors of the chain. See mExec.

mcmcRun :: ToJSON a => Mcmc a () -> Status a -> IO (Status a) Source #

Run an MCMC algorithm.