ConfigSpace
ConfigSpace copied to clipboard
Domain specific language for configuration spaces in Python/Cython. Useful for hyperparameter optimization and algorithm configuration.
Similar to https://github.com/automl/auto-sklearn/pull/1152
When combining Integral hyperparameter and conditions, sometimes it might result in an invalid configuration: ``` from ConfigSpace import Configuration, ConfigurationSpace, GreaterThanCondition from ConfigSpace import UniformIntegerHyperparameter import ConfigSpace num_layer = UniformIntegerHyperparameter('num_layer',...
This issue lists potential speed improvements to keep track of them. There is no plan to implement them right now, but if you would like to contribute to ConfigSpace by...
It does not seem to make sense that manually setting an item with `config[key] = value` should delete the entire attribute `self._values`. Looking through the rest of the code, it...
I noticed that there is a problem with ordinal hyperparameters. I do not know if it is a bug or a feature but they do not behave like integer hyperparameters....
The method added in #142 has two drawbacks that can become a limiting factor: 1. It generates all configurations at once. Instead it should be a generator. 2. It does...
Hi Guys, I'd like to create a set of possible configuration spaces and then create a union of them, for example: ```python cat_hp1 = CSH.CategoricalHyperparameter('cat_hp', choices=['red', 'green', 'blue']) uniform_integer_hp1 =...
See this issue: https://github.com/automl/SMAC3/issues/531 When running the following code: ``` import numpy as np import sklearn.datasets import sklearn.metrics from sklearn.neural_network import MLPClassifier from ConfigSpace import ( UniformIntegerHyperparameter, CategoricalHyperparameter, GreaterThanCondition, ConfigurationSpace,...
PR #188 introduce a Normal Truncated Distribution type but there are perhaps some changes required to the `get_neighbours` and `to_uniform` functions. Quoting the major response but please read the PR...
Hello, Thanks for this great library. I ran into a small issue while double checking some results. The (not so) small sample here seems to be generating invalid configurations: ```python...