hakaru-0.3.0: A probabilistic programming language

CopyrightCopyright (c) 2016 the Hakaru team
LicenseBSD3
Maintainerwren@community.haskell.org
Stabilityexperimental
PortabilityGHC-only
Safe HaskellNone
LanguageHaskell2010

Language.Hakaru.Inference

Description

TODO: we may want to give these longer/more-explicit names so as to be a bit less ambiguous in the larger Haskell ecosystem.

Documentation

priorAsProposal :: (ABT Term abt, SingI a, SingI b) => abt '[] (HMeasure (HPair a b)) -> abt '[] (HPair a b) -> abt '[] (HMeasure (HPair a b)) Source #

mh :: ABT Term abt => abt '[] (a :-> HMeasure a) -> abt '[] (HMeasure a) -> abt '[] (a :-> HMeasure (HPair a HProb)) Source #

mcmc :: ABT Term abt => abt '[] (a :-> HMeasure a) -> abt '[] (HMeasure a) -> abt '[] (a :-> HMeasure a) Source #

gibbsProposal :: (ABT Term abt, SingI a, SingI b) => abt '[] (HMeasure (HPair a b)) -> abt '[] (HPair a b) -> abt '[] (HMeasure (HPair a b)) Source #

slice :: ABT Term abt => abt '[] (HMeasure HReal) -> abt '[] (HReal :-> HMeasure HReal) Source #

sliceX :: (ABT Term abt, SingI a) => abt '[] (HMeasure a) -> abt '[] (HMeasure (HPair a HReal)) Source #

incompleteBeta :: ABT Term abt => abt '[] HProb -> abt '[] HProb -> abt '[] HProb -> abt '[] HProb Source #

regBeta :: ABT Term abt => abt '[] HProb -> abt '[] HProb -> abt '[] HProb -> abt '[] HProb Source #

tCDF :: ABT Term abt => abt '[] HReal -> abt '[] HProb -> abt '[] HProb Source #

approxMh :: (ABT Term abt, SingI a) => (abt '[] a -> abt '[] (HMeasure a)) -> abt '[] (HMeasure a) -> [abt '[] a -> abt '[] (HMeasure a)] -> abt '[] (a :-> HMeasure a) Source #

kl :: ABT Term abt => abt '[] (HMeasure a) -> abt '[] (HMeasure a) -> Maybe (abt '[] HProb) Source #