Skip to content

A repository for demonstrating some toy examples of Bayesian inference.

Notifications You must be signed in to change notification settings

thomasjdelaney/Bayesian_Inference

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A repository for demonstrating some toy examples of Bayesian inference.

Python 2.7.15

Required packages

  1. argparse 1.1
  2. numpy 1.15.2
  3. matplotlib 2.2.3
  4. datetime
  5. scipy 1.1.0
  6. pandas 0.23.4
  7. math
For the default examples run:
  • python -i py/bernoulli_variable.py
  • python -i py/multinomial_variable.py
  • python -i py/gaussian_variable.py
  • python -i py/poisson_variable.py

Command line options

Use '-h' or '--help' for a full list of command line options for each script. Usually there will be an option for the parameter(s) of the true distribution, an option for the parameter(s) of the prior distribution, and an option for the number of data points to be sampled from the true distribution and used in the MAP estimation.

TODO

Prevent Gamma function overflow in gaussian_variable.py, extend multinomial_variable to more than three categories

Releases

No releases published

Packages

No packages published

Languages