Package to generate numbers in the unit hypercube subject to constraints.
Project description
Sampling a high dimensional space under non-linear constraints.
Initially composed as a technical challenge for Citrine.
Operation
As a python script
Install from PyPy
Scaling and future work
- Security considerations of
eval
. - Special cases have analytic solutions (linear constraints defining a simplex)
- The current method works best in continuous spaces.
- Consider limits of time and memory
- Improved uniformnity on sampling after certain number of steps (autocorrelation function) D. Chandler, Introduction to Modern Statistical Mechanics (Oxford University Press, 1987
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for constrained_sampler-maffettone-0.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f28235352771d01c4be0eaf77c02f30e02fe646931eb4b2615a2812d8cf414f |
|
MD5 | 4dbd43aeb6023f6313f3cb84ad683cce |
|
BLAKE2b-256 | b38ea3adab01c1968e235d7ad30cc9b68c03c9898203259b065fd22f3769ff7a |