Skip to main content

A toolkit for adaptive importance sampling featuring implementations of variational Bayes, population Monte Carlo, and Markov chains.

Project description

pypmc is a python package focusing on adaptive importance sampling. It can be used for integration and sampling from a user-defined target density. A typical application is Bayesian inference, where one wants to sample from the posterior to marginalize over parameters and to compute the evidence. The key idea is to create a good proposal density by adapting a mixture of Gaussian or student’s t components to the target density. The package is able to efficiently integrate multimodal functions in up to about 30-40 dimensions at the level of 1% accuracy or less. For many problems, this is achieved without requiring any manual input from the user about details of the function. Importance sampling supports parallelization on multiple machines via mpi4py.

Useful tools that can be used stand-alone include:

  • importance sampling (sampling & integration)

  • adaptive Markov chain Monte Carlo (sampling)

  • variational Bayes (clustering)

  • population Monte Carlo (clustering)

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

pypmc-1.2.5.tar.gz (1.3 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pypmc-1.2.5-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.9 MB view details)

Uploaded CPython 3.11+manylinux: glibc 2.17+ x86-64

pypmc-1.2.5-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.9 MB view details)

Uploaded CPython 3.11+manylinux: glibc 2.17+ ARM64

pypmc-1.2.5-cp311-abi3-macosx_11_0_arm64.whl (726.3 kB view details)

Uploaded CPython 3.11+macOS 11.0+ ARM64

pypmc-1.2.5-cp311-abi3-macosx_10_9_x86_64.whl (736.0 kB view details)

Uploaded CPython 3.11+macOS 10.9+ x86-64

pypmc-1.2.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.3 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

pypmc-1.2.5-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.3 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64

pypmc-1.2.5-cp310-cp310-macosx_11_0_arm64.whl (774.2 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

pypmc-1.2.5-cp310-cp310-macosx_10_9_x86_64.whl (810.1 kB view details)

Uploaded CPython 3.10macOS 10.9+ x86-64

pypmc-1.2.5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.3 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

pypmc-1.2.5-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.3 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ ARM64

pypmc-1.2.5-cp39-cp39-macosx_11_0_arm64.whl (775.7 kB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

pypmc-1.2.5-cp39-cp39-macosx_10_9_x86_64.whl (811.8 kB view details)

Uploaded CPython 3.9macOS 10.9+ x86-64

File details

Details for the file pypmc-1.2.5.tar.gz.

File metadata

  • Download URL: pypmc-1.2.5.tar.gz
  • Upload date:
  • Size: 1.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for pypmc-1.2.5.tar.gz
Algorithm Hash digest
SHA256 40cc668ea616d531d7cb61d096417c1592d290b75eefa300fd033c8e5a232a53
MD5 ac50695ebf5d39f0c24b51af1d882b0e
BLAKE2b-256 223927b2caec2ea1b0a59caf47fc86eafb7bf1af9d9e5e8b0cdeb405d018f804

See more details on using hashes here.

File details

Details for the file pypmc-1.2.5-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pypmc-1.2.5-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e2610a612570bdf386b2eb76c971c715060c8d262e7190ba9247576b63dc39cd
MD5 56d3b26c89f0e1b89834c7b65a9ecebd
BLAKE2b-256 5bc912ba157052bdf0854b9de4046717d6ca129dce2b8a0fbb817c028b78f563

See more details on using hashes here.

File details

Details for the file pypmc-1.2.5-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for pypmc-1.2.5-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 bbe568c15a858053422c82662427838c7069275082b202abf0465198cc60350d
MD5 d223b875a8921f3434657066631fdcda
BLAKE2b-256 0746456bd41292457523092af2f7e9da745a6afdceee73fa98eec7caa6852af1

See more details on using hashes here.

File details

Details for the file pypmc-1.2.5-cp311-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pypmc-1.2.5-cp311-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 33b71d5a2b3e0d4b8e28c032c8e6d087336c62c0a7d7a27ee11acdff57303207
MD5 3490b449fb2b9dd801b9f11839cda688
BLAKE2b-256 55e35cd3e94db77958b6b094b53369837c99bbe154555191d244dac2c7c1493c

See more details on using hashes here.

File details

Details for the file pypmc-1.2.5-cp311-abi3-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pypmc-1.2.5-cp311-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 7bc134ef96f5cf4f80d364ce91e8651347f51b04fdaab230bed08eb24c277da6
MD5 bc8325a350ecc6a01488c826bcd88782
BLAKE2b-256 a3b6b8b76e8e81c7e5d74791e108ed47b25b4e38c889c67fa155de801c870b85

See more details on using hashes here.

File details

Details for the file pypmc-1.2.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pypmc-1.2.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b14b22ec117327db5dd7f3cdd72b5d47de95a860c9d9e7157137aba9e82ca5d2
MD5 1ad6829f9a9d373441d12e3ed5dde546
BLAKE2b-256 99ed365631da1e0a08722bc180c288721fa4508447dfc9a29047c3a5e08cd686

See more details on using hashes here.

File details

Details for the file pypmc-1.2.5-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for pypmc-1.2.5-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 141d543643dfd652653b7d1d698765831502696a538baa2387219f863bc8a0ae
MD5 aa067cfe1696b47a34aa355d9ca0b87b
BLAKE2b-256 67b12e7ac960b17f8e0766cd4b324c5ab8d119690d85ddf93060ce9f51e0606e

See more details on using hashes here.

File details

Details for the file pypmc-1.2.5-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pypmc-1.2.5-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8b64e32c0e6ae12451e0f841f64b14500cffeee04a049063c74ac67e080bbf99
MD5 fc91b6f84c8ceab451a6c66e7344983e
BLAKE2b-256 319862bb1e648bdd01ad51589a5e15eba55a5ef02d2b926bdd17e6a56d559058

See more details on using hashes here.

File details

Details for the file pypmc-1.2.5-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pypmc-1.2.5-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 3946e8dee18b5e91afcfd607c05f5987fa381b540bbe885b13899a1ec65c42f3
MD5 3aefe44c54681b37943f3c6935776423
BLAKE2b-256 4759917c83f1c8c8b232124ad163da11a4e0a8c0ee4ec565681f5c06f9497e85

See more details on using hashes here.

File details

Details for the file pypmc-1.2.5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pypmc-1.2.5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a5ad68e78a3151fadc2e5e250be103d121ad60a0c262e6203b0d91b2c153e7c0
MD5 d226afb29e176e251b16f3aaeb1950ee
BLAKE2b-256 4821a4bdfa9ba75fdeca2154566ffa87a60bda5fad86858257e7c8b3e7d35ffc

See more details on using hashes here.

File details

Details for the file pypmc-1.2.5-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for pypmc-1.2.5-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 3a77b32cb1bdd6fc7f4ca7b2ba520adcf689b426ab94c81c90feda34a8ae3e36
MD5 feaf866f6cb2d2d09541627722bfd6d2
BLAKE2b-256 34a96c98ed6b4cea45b9c2b52b98f2a5a53ffa401eda8f1d11844e121d94d13c

See more details on using hashes here.

File details

Details for the file pypmc-1.2.5-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

  • Download URL: pypmc-1.2.5-cp39-cp39-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 775.7 kB
  • Tags: CPython 3.9, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for pypmc-1.2.5-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 734756f0fc7d864a605eca54ebd5cb0c0713707705c8648b0667cd7c63355066
MD5 e46e5cad66fe713c337ad7d16e8e04d5
BLAKE2b-256 66fb0d22b33db7b07f83a6aa975ab079188b71cb9f422aa4c9bf1771016c38e7

See more details on using hashes here.

File details

Details for the file pypmc-1.2.5-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pypmc-1.2.5-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 4425cbc1636e913b06237822c171153cb8636749f77bc9eef57c49db32a40a83
MD5 05aa3b747034d05b4e36c8147760dd2d
BLAKE2b-256 e5f6f4b52d16b59dbfeabfafff9378520c57deb5f4fd4abcd3fa10f3d75a2a9a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page