openMCMC tools
Project description
openMCMC
openMCMC is a package for constructing Bayesian models from distributional components, and then doing parameter estimation using Markov Chain Monte Carlo (MCMC) methods. The package supports a number of standard distributions used in Bayesian modelling (e.g. Normal, gamma, uniform), and a number of simple functional forms for the parameters of these distributions. For a model constructed in the toolbox, a number of different MCMC algorithms are available, including simple random walk Metropolis-Hastings, manifold MALA, exact samplers for conjugate distribution choices, and reversible-jump MCMC for parameters with an unknown dimensionality.
Installing openMCMC as a package
Suppose you want to use this openMCMC package in a different project.
You can install it from PyPi through pip
pip install openmcmc
.
Or you could clone the repository and install it from the source code. After activating the environment you want to
install openMCMC in, open a terminal, move to the main openMCMC folder
where pyproject.toml is located and run pip install .
, optionally you can pass the -e
flag is for editable mode.
All the main options, info and settings for the package are found in the pyproject.toml file which sits in this repo
as well.
Examples
For some examples on how to use this package please check out these Examples
Contribution
This project welcomes contributions and suggestions. If you have a suggestion that would make this better you can simply open an issue with a relevant title. Don't forget to give the project a star! Thanks again!
For more details on contributing to this repository, see the Contributing guide.
Licensing
Distributed under the Apache License Version 2.0. See the license file for more information.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file openmcmc-1.0.5.tar.gz
.
File metadata
- Download URL: openmcmc-1.0.5.tar.gz
- Upload date:
- Size: 35.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5ad56e0fb72e8ca0708192e8df6548a5c0956064381b179bb9296458880322a |
|
MD5 | 337affbf30a6c97e5e4b7000aac153f0 |
|
BLAKE2b-256 | c7e82dc0132f5ad3e80583cbee95d7a64c19d98ab692359b7a06fd6655685bc0 |
File details
Details for the file openmcmc-1.0.5-py3-none-any.whl
.
File metadata
- Download URL: openmcmc-1.0.5-py3-none-any.whl
- Upload date:
- Size: 44.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5bb8192ffd0b46bfdde773cb80dce9b9575e0708ac5c15f232d24dabffb9ae97 |
|
MD5 | 0b64c514e9e29b219f7fe6ed4faa3403 |
|
BLAKE2b-256 | bd520b2b432f93b2cf91a5d518f4093160cdd832aa9d5e1ce829a50981590995 |