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 |
Creation date: Fri May 29 10:19:45 2020.
Synopsis
- type Mcmc a = StateT (Status a) IO
- mcmcOutT :: ByteString -> Mcmc a ()
- mcmcOutS :: String -> Mcmc a ()
- mcmcWarnT :: ByteString -> Mcmc a ()
- mcmcWarnS :: String -> Mcmc a ()
- mcmcInfoT :: ByteString -> Mcmc a ()
- mcmcInfoS :: String -> Mcmc a ()
- mcmcDebugT :: ByteString -> Mcmc a ()
- mcmcDebugS :: String -> Mcmc a ()
- mcmcAutotune :: 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.
mcmcOutT :: ByteString -> Mcmc a () Source #
Write to standard output and log file.
mcmcWarnT :: ByteString -> Mcmc a () Source #
Print warning message.
mcmcInfoT :: ByteString -> Mcmc a () Source #
Print info message.
mcmcDebugT :: ByteString -> Mcmc a () Source #
Print debug message.
mcmcDebugS :: String -> Mcmc a () Source #
Print debug message.
mcmcAutotune :: Mcmc a () Source #
Auto tune the Proposal
s 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 Proposal
s in Cycle
. See summarizeCycle
.
mcmcReport :: ToJSON a => Mcmc a () Source #
Report what is going to be done.