Skip to main content

Dynamic Algorithm Configuration Benchmark

Project description

DACBench: A Benchmark Library for Dynamic Algorithm Configuration

PyPI Version Python License Test Doc Status

DACBench is a benchmark library for Dynamic Algorithm Configuration. Its focus is on reproducibility and comparability of different DAC methods as well as easy analysis of the optimization process.

You can try out the basics of DACBench in Colab here without any installation. Our examples in the repository should give you an impression of what you can do with DACBench and our documentation should answer any questions you might have.

Installation

We recommend installing DACBench in a virtual environment, here with uv:

pip install uv
uv venv --python 3.10
source .venv/bin/activate
uv pip install dacbench

Instead of using pip, you can also use the GitHub repo directly:

pip install uv
git clone https://github.com/automl/DACBench.git
cd DACBench
uv venv --python 3.10
source .venv/bin/activate
git submodule update --init --recursive
make install

This command installs the base version of DACBench including the three small surrogate benchmarks. For any other benchmark, you may use a singularity container as provided by us (see next section) or install it as an additional dependency. As an example, to install the SGDBenchmark, run:

uv pip install dacbench[sgd]

You can also install all dependencies like so:

make install-dev

Containerized Benchmarks

DACBench can run containerized versions of Benchmarks using Singularity containers to isolate their dependencies and make reproducible Singularity images.

Building a Container

For writing your own recipe to build a Container, you can refer to dacbench/container/singularity_recipes/recipe_template

Install Singularity and run the following to build the (in this case) cma container

cd dacbench/container/singularity_recipes
sudo singularity build cma cma.def

Citing DACBench

If you use DACBench in your research or application, please cite us:

@inproceedings{eimer-ijcai21,
  author    = {T. Eimer and A. Biedenkapp and M. Reimer and S. Adriaensen and F. Hutter and M. Lindauer},
  title     = {DACBench: A Benchmark Library for Dynamic Algorithm Configuration},
  booktitle = {Proceedings of the Thirtieth International Joint Conference on
               Artificial Intelligence ({IJCAI}'21)},
  year      = {2021},
  month     = aug,
  publisher = {ijcai.org},

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

dacbench-0.5.1.tar.gz (4.4 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dacbench-0.5.1-py3-none-any.whl (3.5 MB view details)

Uploaded Python 3

File details

Details for the file dacbench-0.5.1.tar.gz.

File metadata

  • Download URL: dacbench-0.5.1.tar.gz
  • Upload date:
  • Size: 4.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for dacbench-0.5.1.tar.gz
Algorithm Hash digest
SHA256 5fdbcb0ec02667689a9fc6f781fd0650905603b3220183f16a7a0d0cf269924b
MD5 34f522d93b9625917f69f37619bf49b4
BLAKE2b-256 681b4a31edfddadfc9528c45873eb705fb14c9babd958b3d0f43c542738169b2

See more details on using hashes here.

Provenance

The following attestation bundles were made for dacbench-0.5.1.tar.gz:

Publisher: publish.yml on automl/DACBench

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dacbench-0.5.1-py3-none-any.whl.

File metadata

  • Download URL: dacbench-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 3.5 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for dacbench-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5d96f68ee168bc3c35faa036f3f623dde8d19b26fe9583929e6b7ff7112dd6e5
MD5 5cc0be78de621cde591c3068ee59870e
BLAKE2b-256 850ba0dce9ec31a79e89d712d3a924a3e2edcab959d011ac8284e9237e205c51

See more details on using hashes here.

Provenance

The following attestation bundles were made for dacbench-0.5.1-py3-none-any.whl:

Publisher: publish.yml on automl/DACBench

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page