Skip to main content

SafeOpt - Safe Bayesian Optimization

Build Status Documentation Status

This code implements an adapted version of the safe, Bayesian optimization algorithm, SafeOpt [1], [2]. It also provides a more scalable implementation based on [3] as well as an implementation for the original algorithm in [4]. The code can be used to automatically optimize a performance measures subject to a safety constraint by adapting parameters. The prefered way of citing this code is by referring to [1] or [2].

Youtube video

Installation

The easiest way to install the necessary python libraries is by installing pip (e.g. apt-get install python-pip on Ubuntu) and running

pip install safeopt

Alternatively you can clone the repository and install it using

python setup.py install

Usage

The easiest way to get familiar with the library is to run the interactive example ipython notebooks!

Make sure that the ipywidgets module is installed. All functions and classes are documented on Read The Docs.

License

The code is licenced under the MIT license and free to use by anyone without any restrictions.

Metadata

Release files for safeopt 0.16

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

Source distribution (sdist)

Source distribution for safeopt 0.16
File Size Uploaded Provenance Actions
safeopt-0.16.tar.gz 18.1 kB Without provenance Details for safeopt-0.16.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for safeopt 0.16
File Interpreter ABI Platform Actions
safeopt-0.16-py2.py3-none-any.whl Python 2, Python 3 none any Details for safeopt-0.16-py2.py3-none-any.whl

Total release size: 37.4 kB

Release files / safeopt-0.16.tar.gz

Download URL safeopt-0.16.tar.gz
Size 18.1 kB
Tags Source
SHA-256 checksum
How to use checksums
fd6a13bbade50e48eb0ad2bd9771973ba58c00ae7454afda4875a1a21a6f6d05
BLAKE2b-256 checksum
How to use checksums
fd688bf610c3c83654c9c9a73c67b9352f645860e79f8f8902040923d16db94e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.5.6

Release files / safeopt-0.16-py2.py3-none-any.whl

Download URL safeopt-0.16-py2.py3-none-any.whl
Size 19.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
aa0bb56918851fe891fdae67eb9e495328520d85802ca7ab2ce76cc3ed2c850e
BLAKE2b-256 checksum
How to use checksums
09f7c9af8697d4ab34ac5308b49c0661aea423f89d75c1e8bbcd8bff39ba8786
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.5.6

Security for safeopt 0.16

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.16 This release

2 release files No provenance

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