Simple framework for optimization functions and metamodels
Project description
Optilab
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file optilab-18-py3-none-any.whl.
File metadata
- Download URL: optilab-18-py3-none-any.whl
- Upload date:
- Size: 48.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b1b02bf62eb110a2f7bea726ed8e58aa5666829734104749f010da8b59a384a1
|
|
| MD5 |
ab88a324467f9d78dcaa50b8260680c8
|
|
| BLAKE2b-256 |
fde7f3c5b0f2fcacd11a292d90ed805e9e894736bf6113ce9edf7e92343b62ab
|