Open
Description
Trying to run the Minimum Example, I am thrown this error. I am working with v1.2.1
installed using pip
with python v3.9
.
Detailed error message:
>>> from ConfigSpace import ConfigurationSpace
>>> cs = ConfigurationSpace({
... "myfloat": (0.1, 1.5), # Uniform Float
... "myint": (2, 10), # Uniform Integer
... "species": ["mouse", "cat", "dog"], # Categorical
... })
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "$HOME/.conda/envs/gpt/lib/python3.9/site-packages/ConfigSpace/configuration_space.py", line 205, in __init__
hyperparameters = list(_parse_hyperparameters_from_dict(space))
File "$HOME/.conda/envs/gpt/lib/python3.9/site-packages/ConfigSpace/configuration_space.py", line 103, in _parse_hyperparameters_from_dict
yield UniformFloatHyperparameter(name, lower, upper)
File "$HOME/.conda/envs/gpt/lib/python3.9/site-packages/ConfigSpace/hyperparameters/uniform_float.py", line 98, in __init__
scaler = UnitScaler(f64(self.lower), f64(self.upper), log=log, dtype=f64)
TypeError: UnitScaler() takes no arguments
This is my first time using ConfigSpace
, so I apologize in advance in case there is any naive mistake from my end!
Any help to resolve this would be appreciated. Thanks!
Metadata
Metadata
Assignees
Labels
No labels