SPUX: Scalable Package for Uncertainty Quantification
pip install spux==0.4.0
SPUX: Scalable Particle Markov Chain Monte Carlo
We recommend using Python 3.
- Open MPI:
- in OS X with Homebrew, in terminal:
brew open-mpi
- in Debian/Linux with Apt, in terminal:
apt-get install openmpi-bin libopenmpi-dev
We recommend using Python 3.
- in terminal:
pip3 install --user --upgrade pip
- in terminal:
pip3 install --user -r requirements.txt
We recommend using Python 3.
- in terminal:
pip3 install --user acor
- (Python 3 only) Java, and in terminal:
pip3 install --user JPype1-py3
Vim. If not satisfied with this suggestion, then we recommend using editor Spyder, which has similar UI as R. A cross-platform free but proprietary options are PyCharm and VS Code.
Commands should be executed in Python terminal, or inside Python script. To learn how to write your own custom scripts, look into corresponding Python files.
from spux.models import randomwalk
randomwalk.test ()
Currently parallel version only.
Execution using script (here named script.py
):
mpirun -n 1 python3 script.py
Inside script.py
:
from spux.samplers import mcmc
mcmc.test_RandomWalk ()
Java IBM installation is needed [link?]. The path to the project directory needs to be specified.
from spux.models import ibm
ibm.test (path = '/path/to/IBMProj/')
Currently parallel version only. Execution using script (here named code:script.py):
mpirun -n 1 python3 script.py
Inside script.py
:
from spux.samplers import mcmc
mcmc.test_IBM (path = '/path/to/IBMProj/')
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.