Skip to main content

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

Project description

ConfigSpace

A simple Python 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/latest/. 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-1.2.2.tar.gz (134.2 kB view details)

Uploaded Source

Built Distribution

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

configspace-1.2.2-py3-none-any.whl (117.6 kB view details)

Uploaded Python 3

File details

Details for the file configspace-1.2.2.tar.gz.

File metadata

  • Download URL: configspace-1.2.2.tar.gz
  • Upload date:
  • Size: 134.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for configspace-1.2.2.tar.gz
Algorithm Hash digest
SHA256 b5cc981c145ef9632104d230acf963c2f68fe5a375983946e941c2eec5dd08e4
MD5 4002cd39958af933b9c8c8791f15c93c
BLAKE2b-256 ae517a63132fdc3a71eea66d9f81b451a61a38631af0a73bdcda1ec784cea32e

See more details on using hashes here.

Provenance

The following attestation bundles were made for configspace-1.2.2.tar.gz:

Publisher: publish_pypi.yml on automl/ConfigSpace

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

File details

Details for the file configspace-1.2.2-py3-none-any.whl.

File metadata

  • Download URL: configspace-1.2.2-py3-none-any.whl
  • Upload date:
  • Size: 117.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for configspace-1.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9dd5090fab08fbfc0fa8a66affb53e991e9df65ae20959fcee8e544bb3c0a09d
MD5 752c80268af8e29faa56018fc143c6ff
BLAKE2b-256 566701bf8795064d2132d7244341908f75bb2ea87dc114364cd8c5b20c606a8f

See more details on using hashes here.

Provenance

The following attestation bundles were made for configspace-1.2.2-py3-none-any.whl:

Publisher: publish_pypi.yml on automl/ConfigSpace

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