automl / ParameterImportance

Parameter Importance Analysis Tool
http://www.ml4aad.org/
BSD 3-Clause "New" or "Revised" License
76 stars 19 forks source link

Constant has no attribute 'upper' (fANOVA) #91

Closed shukon closed 4 years ago

shukon commented 5 years ago
  File "/home/shuki/Documents/ParameterImportance/pimp/importance/importance.py", line 499, in evaluate_scenario
    self.evaluator = method
  File "/home/shuki/Documents/ParameterImportance/pimp/importance/importance.py", line 372, in evaluator
    verbose=self.verbose)
  File "/home/shuki/Documents/ParameterImportance/pimp/evaluator/fanova.py", line 63, in __init__
    seed=self.rng.randint(2**31-1), cutoffs=cutoffs)
  File "/home/shuki/Documents/fanova/fanova/fanova.py", line 79, in __init__
    if (np.max(X[:, i]) > self.cs_params[i].upper) or \
AttributeError: 'ConfigSpace.hyperparameters.Constant' object has no attribute 'upper'
AndreBiedenkapp commented 5 years ago

Should be fixed in https://github.com/automl/fanova/commit/541d5a23c75bed7df7fe1f370047c8d1eaaf0593