| Copyright | (c) Dominik Schrempf 2020 |
|---|---|
| License | GPL-3.0-or-later |
| Maintainer | dominik.schrempf@gmail.com |
| Stability | unstable |
| Portability | portable |
| Safe Haskell | None |
| Language | Haskell2010 |
Mcmc.Mcmc
Description
Creation date: Fri May 29 10:19:45 2020.
Functions to work with the Mcmc state transformer.
Synopsis
- type Mcmc a = StateT (Status a) IO
- mcmcOutB :: ByteString -> Mcmc a ()
- mcmcOutS :: String -> Mcmc a ()
- mcmcWarnB :: ByteString -> Mcmc a ()
- mcmcWarnS :: String -> Mcmc a ()
- mcmcInfoB :: ByteString -> Mcmc a ()
- mcmcInfoS :: String -> Mcmc a ()
- mcmcDebugB :: ByteString -> Mcmc a ()
- mcmcDebugS :: String -> Mcmc a ()
- mcmcAutotune :: Mcmc a ()
- mcmcClean :: Mcmc a ()
- mcmcResetA :: Mcmc a ()
- mcmcSummarizeCycle :: Mcmc a ByteString
- mcmcReport :: ToJSON a => Mcmc a ()
- mcmcMonitorExec :: ToJSON a => Mcmc a ()
- mcmcRun :: ToJSON a => Mcmc a () -> Status a -> IO (Status a)
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.
mcmcWarnB :: ByteString -> Mcmc a () Source #
Print warning message.
mcmcInfoB :: ByteString -> 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.
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.