WAsserstein Global Gradient-free OptimisatioN (WAGGON) methods library.
Reason this release was yanked:
bugged
Project description
Welcome to WAGGON: WAssrestein Global Gradient-free OptimisatioN
WAGGON is a python library of black box gradient-free optimisation. Currently, the library contains implementations of optimisation methods based on Wasserstein uncertainty and baseline approaches from the following papers:
- Tigran Ramazyan, Mikhail Hushchyn and Denis Derkach. Global Optimisation of Black-Box Functions with Generative Models in the Wasserstein Space, 2024.[arxiv] [ECAI 2024 Proceedings]
Implemented methods
- Wasserstein Uncertainty Global Optimisation (WU-GO)
- Bayesian optimisation: via Expected Improvement (EI), Lower and Upper Confidence Bounds (LCB, UCB)
Installation
pip install waggon
or
git clone https://github.com/hse-cs/waggon
cd waggon
pip install -e
Basic usage
(See more examples in the documentation.)
The following code snippet is an example of surrogate optimisation.
import waggon
from waggon.optim import SurrogateOptimiser
from waggon.acquisitions import WU
from waggon.surrogates.gan import WGAN_GP as GAN
from waggon.test_functions import three_hump_camel
# initialise the function to be optimised
func = three_hump_camel()
# initialise the surrogate to carry out optimisation
surr = GAN()
# initialise optimisation acquisition function
acqf = WU()
# initialise optimiser
opt = SurrogateOptimiser(func=func, surr=surr, acqf=acqf)
# run optimisation
opt.optimise()
# visualise
waggon.utils.display()
Support
- Home: https://github.com/hse-cs/waggon
- Documentation: https://hse-cs.github.io/waggon
- For any usage questions, suggestions and bugs please use the issue page.
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
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 waggon-0.0.7.tar.gz.
File metadata
- Download URL: waggon-0.0.7.tar.gz
- Upload date:
- Size: 23.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bfd1759c5b7b2fa6382b58f7f683c1c118d2f865ed6aa77caab16d02b8bf7378
|
|
| MD5 |
75e0e12668132159d49d00a81d13f130
|
|
| BLAKE2b-256 |
16fc295ae125b139abda6d0dbf2d20c2418fcec11c454012d0fdbe89a65aac03
|
File details
Details for the file waggon-0.0.7-py3-none-any.whl.
File metadata
- Download URL: waggon-0.0.7-py3-none-any.whl
- Upload date:
- Size: 30.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f4a042038b1bc06b55d82ced43ae80acb29064d9773a90655966b47073b40d69
|
|
| MD5 |
48e46cf784e3a586110c9aa2e2047449
|
|
| BLAKE2b-256 |
8085705960af4d731fd6f6142e9d682088158318bb5a9bde0089af5fab64a085
|