Package BIP :: Package Bayes :: Package general :: Module Bayes :: Class __BayesD
[hide private]
[frames] | no frames]

Class __BayesD

source code

             object --+    
                      |    
              _BayesVar --+
                          |
scipy.stats.rv_discrete --+
                          |
                         __BayesD

Instance Methods [hide private]
 
__init__(self, priortype, pars, range, resolution=512)
Initializes random variable.
source code

Inherited from _BayesVar: addData, getPosteriorSample, getPriorDist, getPriorSample

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, priortype, pars, range, resolution=512)
(Constructor)

source code 

Initializes random variable.

:parameters:

  • `disttype`: must be a valid RNG from scipy.stats
  • `pars`: are the parameters of the distribution.
  • `rang`: range of the variable support.
  • `resolution`: resolution of the support.
Overrides: object.__init__
(inherited documentation)