Skip to main content

Creation and manipulation of parameter configuration spaces for automated algorithm configuration and hyperparameter tuning.

Project description

ConfigSpace

A simple Python/Cython module implementing a domain specific language to manage configuration spaces for algorithm configuration and hyperparameter optimization tasks.
Distributed under BSD 3-clause, see LICENSE except all files in the directory ConfigSpace.nx, which are copied from the networkx package and licensed under a BSD license.

The documentation can be found at https://automl.github.io/ConfigSpace/main/. Further examples can be found in the SMAC documentation.

Minimum Example

from ConfigSpace import ConfigurationSpace

cs = ConfigurationSpace(
    name="myspace",
    space={
        "a": (0.1, 1.5),  # UniformFloat
        "b": (2, 10),  # UniformInt
        "c": ["mouse", "cat", "dog"],  # Categorical
    },
)

configs = cs.sample_configuration(2)

Citing the ConfigSpace

@article{
    title   = {BOAH: A Tool Suite for Multi-Fidelity Bayesian Optimization & Analysis of Hyperparameters},
    author  = {M. Lindauer and K. Eggensperger and M. Feurer and A. Biedenkapp and J. Marben and P. Müller and F. Hutter},
    journal = {arXiv:1908.06756 {[cs.LG]}},
    date    = {2019},
}

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

ConfigSpace-0.7.1.tar.gz (1.6 MB view hashes)

Uploaded Source

Built Distributions

ConfigSpace-0.7.1-cp311-cp311-win_amd64.whl (2.2 MB view hashes)

Uploaded CPython 3.11 Windows x86-64

ConfigSpace-0.7.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.7 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

ConfigSpace-0.7.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (6.7 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ARM64

ConfigSpace-0.7.1-cp311-cp311-macosx_10_9_x86_64.whl (2.3 MB view hashes)

Uploaded CPython 3.11 macOS 10.9+ x86-64

ConfigSpace-0.7.1-cp311-cp311-macosx_10_9_universal2.whl (3.1 MB view hashes)

Uploaded CPython 3.11 macOS 10.9+ universal2 (ARM64, x86-64)

ConfigSpace-0.7.1-cp310-cp310-win_amd64.whl (2.2 MB view hashes)

Uploaded CPython 3.10 Windows x86-64

ConfigSpace-0.7.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.3 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

ConfigSpace-0.7.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (6.3 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ARM64

ConfigSpace-0.7.1-cp310-cp310-macosx_10_9_x86_64.whl (2.3 MB view hashes)

Uploaded CPython 3.10 macOS 10.9+ x86-64

ConfigSpace-0.7.1-cp310-cp310-macosx_10_9_universal2.whl (3.2 MB view hashes)

Uploaded CPython 3.10 macOS 10.9+ universal2 (ARM64, x86-64)

ConfigSpace-0.7.1-cp39-cp39-win_amd64.whl (2.2 MB view hashes)

Uploaded CPython 3.9 Windows x86-64

ConfigSpace-0.7.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.5 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

ConfigSpace-0.7.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (6.5 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ARM64

ConfigSpace-0.7.1-cp39-cp39-macosx_10_9_x86_64.whl (2.3 MB view hashes)

Uploaded CPython 3.9 macOS 10.9+ x86-64

ConfigSpace-0.7.1-cp39-cp39-macosx_10_9_universal2.whl (3.1 MB view hashes)

Uploaded CPython 3.9 macOS 10.9+ universal2 (ARM64, x86-64)

ConfigSpace-0.7.1-cp38-cp38-win_amd64.whl (2.3 MB view hashes)

Uploaded CPython 3.8 Windows x86-64

ConfigSpace-0.7.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.7 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

ConfigSpace-0.7.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (6.6 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ ARM64

ConfigSpace-0.7.1-cp38-cp38-macosx_10_9_x86_64.whl (2.5 MB view hashes)

Uploaded CPython 3.8 macOS 10.9+ x86-64

ConfigSpace-0.7.1-cp38-cp38-macosx_10_9_universal2.whl (3.3 MB view hashes)

Uploaded CPython 3.8 macOS 10.9+ universal2 (ARM64, x86-64)

ConfigSpace-0.7.1-cp37-cp37m-win_amd64.whl (2.3 MB view hashes)

Uploaded CPython 3.7m Windows x86-64

ConfigSpace-0.7.1-cp37-cp37m-win32.whl (2.2 MB view hashes)

Uploaded CPython 3.7m Windows x86

ConfigSpace-0.7.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.2 MB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.17+ x86-64

ConfigSpace-0.7.1-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (6.0 MB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.17+ ARM64

ConfigSpace-0.7.1-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (6.0 MB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

ConfigSpace-0.7.1-cp37-cp37m-macosx_10_9_x86_64.whl (2.5 MB view hashes)

Uploaded CPython 3.7m macOS 10.9+ x86-64

Supported by

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