Package gPy :: Module Samplers
[hide private]
[frames] | no frames]

Module Samplers

source code

Various samplers

Classes [hide private]
  MultinomialSampler
For sampling from multinomial distributions
  DNSampler
For sampling from dependency networks
  BNSampler
For sampling from Bayesian networks
  GibbsSampler
DO NOT USE: this is INCORRECT
  ForwardSampler
A forward sampler for an unconditional Bayesian networks.
  MetropolisSampler
An abstract Metropolis-Hastings sampler.
Functions [hide private]
 
_histogram(samples) source code
Variables [hide private]
String _version = '$Id: Samplers.py,v 1.6 2008/10/07 09:14:21 jc Exp $'
Version of this module

Imports: BN, member, random