Skip to main content

Optilab

License: GPL v3 Docker Pulls Read the Docs

Optilab is a lightweight and flexible python framework for testing black-box optimization.

Features

  • ✅ Intuitive interface to quickly prototype and run optimizers and metamodels.
  • 📚 High quality documentation.
  • 📈 Objective functions, optimizers, plotting and data handling.
  • ⋙ CLI functionality to easily summarize results of previous experiments.
  • 🚀 Multiprocessing for faster computation.

How to install

Optilab has been tested to work on python versions 3.11 and above. To install it from PyPI, run:

pip install optilab

You can also install from source by cloning this repo and running:

make install

Try the demos

Learn how to use optilab by using our demo notebook. See demo/tutorial.ipynb.

CLI tool

Optilab comes with a powerful CLI tool to easily summarize your experiments. It allows for plotting the results and performing statistical testing to check for statistical significance in optimization results.

Optilab CLI utility.
usage: python -m optilab [-h] [--hide_plots] [--test_y] [--test_evals] pickle_path

positional arguments:
  pickle_path   Path to pickle file or directory with optimization runs.

options:
  -h, --help    show this help message and exit
  --hide_plots  Hide plots when running the script.
  --test_y      Perform Mann-Whitney U test on y values.
  --test_evals  Perform Mann-Whitney U test on eval values.

Docker

This project comes with a docker container. You can pull it from dockerhub:

docker pull mlojek/optilab

Or build it yourself:

make docker

Metadata

Release files for optilab 19

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for optilab 19
File Interpreter ABI Platform
optilab-19-py3-none-any.whl Python 3 none any Details

Release files / optilab-19-py3-none-any.whl

Download URL optilab-19-py3-none-any.whl
Size 48.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1ffc785de0864b8b0ff348a941ff864fccb280fae7a38d431a44f0bdc635953b
BLAKE2b-256 checksum
How to use checksums
05b3ac6d07c629c1730891c618c242c8764e20baf442ead2c8dc265d36df4221
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 10, 2025.

Transparency log

Release history Release notifications | RSS feed

29

2 release files

28

1 release file

27

1 release file

26

1 release file

25

1 release file

24

1 release file

23

1 release file

22

1 release file

21

1 release file

20

1 release file

This release

19 This release

1 release file

18

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page