Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

constrained_sampler-maffettone-0.0.2.tar.gz (355.8 kB view details)

Uploaded Source

File details

Details for the file constrained_sampler-maffettone-0.0.2.tar.gz.

File metadata

  • Download URL: constrained_sampler-maffettone-0.0.2.tar.gz
  • Upload date:
  • Size: 355.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.10

File hashes

Hashes for constrained_sampler-maffettone-0.0.2.tar.gz
Algorithm Hash digest
SHA256 9f28235352771d01c4be0eaf77c02f30e02fe646931eb4b2615a2812d8cf414f
MD5 4dbd43aeb6023f6313f3cb84ad683cce
BLAKE2b-256 b38ea3adab01c1968e235d7ad30cc9b68c03c9898203259b065fd22f3769ff7a

See more details on using hashes here.

Supported by

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