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.6.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.6-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (4.0 MB view details)

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

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

Uploaded CPython 3.11+manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

pypmc-1.2.6-cp311-abi3-macosx_11_0_arm64.whl (697.3 kB view details)

Uploaded CPython 3.11+macOS 11.0+ ARM64

pypmc-1.2.6-cp311-abi3-macosx_10_9_x86_64.whl (698.4 kB view details)

Uploaded CPython 3.11+macOS 10.9+ x86-64

pypmc-1.2.6-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (4.5 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

pypmc-1.2.6-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (4.4 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

pypmc-1.2.6-cp310-cp310-macosx_11_0_arm64.whl (760.2 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

pypmc-1.2.6-cp310-cp310-macosx_10_9_x86_64.whl (792.3 kB view details)

Uploaded CPython 3.10macOS 10.9+ x86-64

pypmc-1.2.6-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (4.5 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

pypmc-1.2.6-cp39-cp39-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (4.4 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

pypmc-1.2.6-cp39-cp39-macosx_11_0_arm64.whl (763.0 kB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

pypmc-1.2.6-cp39-cp39-macosx_10_9_x86_64.whl (795.3 kB view details)

Uploaded CPython 3.9macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: pypmc-1.2.6.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.6.tar.gz
Algorithm Hash digest
SHA256 8154fa9d2c71055e899a8a4f32c3dc7cdb3a57ba76b848fd653827301d33959d
MD5 6e6c43206377a9d0e2462f859e87e257
BLAKE2b-256 e7d22df9a18b3623b5f1df3884bc16801177110b16e372a53f7ddfe1dece475d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pypmc-1.2.6-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4eb4962fe38f8fd77d091116c311695ae9fff76add3d110a4a99f1a61e6e1bec
MD5 b2be2118fe6a05f5ccf937ce5123f8fa
BLAKE2b-256 62b6851ae6e8e635d5cc83f6a7448ff22482c3e565adac2b65e65dd921bfa782

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pypmc-1.2.6-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 0c062ba7c4676d8025096511c35a342746179067303cb43780145d64f5d3f18b
MD5 53a803e9ca75faa2cde1467c4a1b5023
BLAKE2b-256 771569e37c91781ec6c86d5c9fed75bd005b833be2e1f47f08cfeb708923e502

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pypmc-1.2.6-cp311-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4314e72fcf0b855857e7a25ce5795dd2d7a96d15d080c03029d004c64898fe8e
MD5 69bf2fabd0d99d6f6cb653a3382f04fa
BLAKE2b-256 5dbd1623f9766924bd6ce4792a29317a2d65a979b13ffc4cacc2fd0335cbd50f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pypmc-1.2.6-cp311-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 a613ddd7b29c719837db9ee46ae1439fd2c83b80981078730b83be9339f7f343
MD5 5b046258a11d86518bc9c367828fc8b4
BLAKE2b-256 c14d5717e11d40dd82ba8e30419244173accfa7e01906d0895e4e08aeafa118a

See more details on using hashes here.

File details

Details for the file pypmc-1.2.6-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pypmc-1.2.6-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4b2eb732ab623578c4926cc675e79bc8d3897029881afe2e9c0a2db2e45ad5d9
MD5 01ce49e628282e44c49a1e15fd5c1fbe
BLAKE2b-256 5b28f3a1eaf3c859494b3d7842652d3e6961cf1819a7626c6a52880b1b02f2fa

See more details on using hashes here.

File details

Details for the file pypmc-1.2.6-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pypmc-1.2.6-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 50687e4d92ec15ea53307b3a6d4aac90a6d38bd14ed24cca69fd2926b4a0fd2b
MD5 7d14c21688b18b187d36a2e18ee25cd1
BLAKE2b-256 a86ea0e703c87777d57f1e13bd4c7e6b97e02e2d0edda6102af6fdab2aaf7bfe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pypmc-1.2.6-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 cbff778d017917d38df31124f41270f81cb7b4daa0c899542145c4a46b4cb111
MD5 4b825bc42f90b9687b3178bb84cfccba
BLAKE2b-256 52a881dcacdbaf48bc589c3a2ec438c8e676c296451dec6f3db0e2bab92192a2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pypmc-1.2.6-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 d0b9c7fa21dd3fea02d726451b231ff55326af2072594b1a1b061560b15fdb75
MD5 bd377fd3627e8f4851d30df90572fcb1
BLAKE2b-256 7c1a4ca4e198c86b6576f2a35486d01bc3805b79aef9b52a5ddab3d8137e655b

See more details on using hashes here.

File details

Details for the file pypmc-1.2.6-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pypmc-1.2.6-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 549ed8e34f12b18ddef5fc7bef63959ee36617e4d4017dbb4ddb1650c657e1bc
MD5 bd26490364cc7a1e31e9438d2003a58f
BLAKE2b-256 a6378beb8ad20a0bb99324cf2855814c315d52bb59f61764616873f99afd8f96

See more details on using hashes here.

File details

Details for the file pypmc-1.2.6-cp39-cp39-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pypmc-1.2.6-cp39-cp39-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 e8a2a1b06ff3c715a73494cac3f6419b1f00308e7ce616d62bcc6a0e7fa53712
MD5 c35e85de79906e382d3fac75236f042d
BLAKE2b-256 536bb264d5ac24ff3743732082d0b81ff754aea1a5c41548fd0da143bf92dc20

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pypmc-1.2.6-cp39-cp39-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 763.0 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.6-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 353c0710b2c3906ac90b3bb6be77f085ea8a7a055f51f9f3ace0556abbbaea06
MD5 32ee68d29b597708ff4fe179de244a2d
BLAKE2b-256 2d11cd552c759b84b1908fe59222a8031e5ee5d0d03c98122f4bed9d132f4a7b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pypmc-1.2.6-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 e970fa45ffee17fd39039d0831ac9228d771ba4f8fcbfe00fa5965239f0842df
MD5 881adc46151f43740eadc66542faafcb
BLAKE2b-256 ee71f869bad6ec62edeb429387ea72d261e527c58d28f8f0719ff13cea218e91

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