PTMCMCSampler:用Python编写的并行调温MCMC采样器程序包

时间:2021-05-04 19:16:40
【文件属性】:
文件名称:PTMCMCSampler:用Python编写的并行调温MCMC采样器程序包
文件大小:1.74MB
文件格式:ZIP
更新时间:2021-05-04 19:16:40
Python PTMCMCSampler MPI启用了用Python编写的并行回火MCMC代码。 有关一些简单用例,请参见。 为了获得MPI支持,您将需要一个功能性的MPI 1.x / 2.x / 3.x实现,例如: # mac brew install mpich # debian sudo apt install mpich # mac brew install open-mpi # debian sudo apt install libopenmpi-dev 要在MPI支持下运行,您可以运行包含以下内容的采样器的脚本: mpirun -np < number> script.py 这将启动在不同温度下运行的np链。 可以在PTMCMCSampler.sample()方法中设置温度阶梯和采样方案。 安装 发展 对于开发,请克隆此仓库并
【文件预览】:
PTMCMCSampler-master
----MANIFEST.in(52B)
----PTMCMCSampler()
--------nutsjump.py(30KB)
--------__init__.py(162B)
--------PTMCMCSampler.py(34KB)
--------nompi4py.py(454B)
----pyproject.toml(562B)
----docs()
--------conf.py(10KB)
--------make.bat(7KB)
--------PTMCMCSampler.rst(520B)
--------Makefile(7KB)
--------index.rst(461B)
----HISTORY.md(0B)
----requirements_dev.txt(120B)
----make_gh-pages.sh(407B)
----.github()
--------workflows()
----tests()
--------test_nuts.py(6KB)
--------test_simple.py(2KB)
----LICENSE(1KB)
----requirements.txt(41B)
----examples()
--------simple.py(3KB)
--------simple.ipynb(2.11MB)
--------gaussian_likelihood.ipynb(249KB)
--------curved_likelihood.ipynb(57KB)
----setup.py(1KB)
----.gitignore(62B)
----Makefile(3KB)
----README.md(3KB)
----.flake8(295B)
----.pre-commit-config.yaml(349B)

网友评论