Skip to main content

A Python package for optimal experiment design.

Project description

Python Design of Experiments

An open-source Python package for optimal experiment design, essential to a modeller's toolbelt. If you are someone who develops a model of any kind, you will relate to the challenges of estimating its model parameters. This tool will help design maximally informative experiments for collecting data to calibrate your model. This package is a simple and powerful toolkit you must have. With an intuitive syntax and helpful documentation, it should take you little time to start designing optimal experiments for estimating the parameters of your model.

Installation

  • PyPI

    $ pip install pydex
    

Quick Start

  • Demo of basic features.
  • Example of experimental design for differential equation models.

Features:

  1. Strive to be as simple as possible to use, but not simpler.
  2. Designs continuous experimental designs.
  3. Interfaces to optimization solvers through scipy, and cvxpy.
  4. Convenient built-in visualization capabilities.
  5. Supports virtually any model, as long as it can be written as a Python function.

Dependencies:

  1. matplotlib: used for visualization.
  2. numdifftools: used for numerical estimation of parameter sensitivities.
  3. scipy: used for interfacing with numerical optimizers.
  4. cvxpy: used for interfacing with numerical optimizers.
  5. pickle: for saving objects (results, data, etc.).
  6. dill: for saving objects with weak-references.
  7. python 3.x: a core package.
  8. numpy: a core package for basic array manipulations.
  9. corner: a package for visualizing high-dimensional data points in a corner plot
  10. emcee: a package for Bayesian Inference using a Markov Chain Monte Carlo (MCMC) method

Examples

In this repository, you will find examples of designing optimal experiments for a wide range of models, defined explicitly, and implicitly through the solution of a system of ordinary differential equations. Currently, there are examples for using scipy and pyomo for integrating the ODE models. Syntax for solution, visualization, and saving & loading progress are shown in the examples.

Do you feel something is confusing? Something can be improved? Interested to contribute? Have a feature to request? Feel free to drop a line at: kennedy.putra.kusumo@gmail.com.

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

pydex-0.0.9.tar.gz (61.4 kB view details)

Uploaded Source

Built Distributions

pydex-0.0.9-py3-none-any.whl (70.7 kB view details)

Uploaded Python 3

pydex-0.0.9-4-py3-none-any.whl (54.6 kB view details)

Uploaded Python 3

pydex-0.0.9-2-py3-none-any.whl (70.7 kB view details)

Uploaded Python 3

pydex-0.0.9-1-py3-none-any.whl (70.7 kB view details)

Uploaded Python 3

File details

Details for the file pydex-0.0.9.tar.gz.

File metadata

  • Download URL: pydex-0.0.9.tar.gz
  • Upload date:
  • Size: 61.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.6.1 requests/2.25.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.7.1

File hashes

Hashes for pydex-0.0.9.tar.gz
Algorithm Hash digest
SHA256 ffcc0dee63517716d3aa7018b270887ac104e2aa1b9a7492aaa01f2eccd4df8e
MD5 fb82b9adf80ad8c1b77392d84537447e
BLAKE2b-256 940043ce069abbd6275ad4f5e3ada8ffb7045055a1cd148afca4dfd5845dc270

See more details on using hashes here.

File details

Details for the file pydex-0.0.9-py3-none-any.whl.

File metadata

  • Download URL: pydex-0.0.9-py3-none-any.whl
  • Upload date:
  • Size: 70.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.6.1 requests/2.25.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.7.1

File hashes

Hashes for pydex-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 29339a5a866baead61d4da041130b523eaef8f73146228185037c5aee5bd52ab
MD5 8db5749d4519db317de1f236577bc6ef
BLAKE2b-256 b8fcc86229979cc032f74d57d9719f7cdbc68356b77d8b9da1ce47ec5e417430

See more details on using hashes here.

File details

Details for the file pydex-0.0.9-4-py3-none-any.whl.

File metadata

  • Download URL: pydex-0.0.9-4-py3-none-any.whl
  • Upload date:
  • Size: 54.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.5

File hashes

Hashes for pydex-0.0.9-4-py3-none-any.whl
Algorithm Hash digest
SHA256 0e898c0f2e463ff58f211d1629764884d00da51e729dae5921485a547e1137b5
MD5 b8da29ab6f164def2d3657e297dd7504
BLAKE2b-256 fbf54b24e1e715a7b91aa959f81f65b47ad43930fdcd18f1f3975283a5c0700e

See more details on using hashes here.

File details

Details for the file pydex-0.0.9-2-py3-none-any.whl.

File metadata

  • Download URL: pydex-0.0.9-2-py3-none-any.whl
  • Upload date:
  • Size: 70.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.6.1 requests/2.25.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.7.1

File hashes

Hashes for pydex-0.0.9-2-py3-none-any.whl
Algorithm Hash digest
SHA256 209a12097530e6d230c55fff630edd2c7f5d668f545a0ed0c792339446401c7e
MD5 125a4395a84ada09813a2219be647e65
BLAKE2b-256 f4cded25718e9033ba9e1c8fef853be8ff11c1e5ceee557996483d8b328076ed

See more details on using hashes here.

File details

Details for the file pydex-0.0.9-1-py3-none-any.whl.

File metadata

  • Download URL: pydex-0.0.9-1-py3-none-any.whl
  • Upload date:
  • Size: 70.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.6.1 requests/2.25.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.7.1

File hashes

Hashes for pydex-0.0.9-1-py3-none-any.whl
Algorithm Hash digest
SHA256 20ceee507cb3db494891ca86d64127076655b3551e767c7986db5c05dfc802b5
MD5 6036368e096c6df5231e2ef0cfedbbd9
BLAKE2b-256 f9755efbd49fc63c3779ae7dcdc6ebce0894a8b2284ef88139be8a06fd2e4ae3

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