bayes-stack-0.2.0.1: Framework for inferring generative probabilistic models with Gibbs sampling

Safe HaskellNone

BayesStack.Core.Types

Synopsis

Documentation

class HasLikelihood p whereSource

Associated Types

type LContext p a :: ConstraintSource

Methods

likelihood :: LContext p a => p a -> ProbabilitySource

prob :: LContext p a => p a -> a -> ProbabilitySource

class FullConditionable p whereSource

A distribution for which a full conditional factor can be produced

Associated Types

type FCContext p a :: ConstraintSource

Methods

sampleProb :: FCContext p a => p a -> a -> DoubleSource