diff --git a/pkg/suggestion/v1beta1/hyperopt/base_service.py b/pkg/suggestion/v1beta1/hyperopt/base_service.py index 5ce843ca7a0..f023b274936 100644 --- a/pkg/suggestion/v1beta1/hyperopt/base_service.py +++ b/pkg/suggestion/v1beta1/hyperopt/base_service.py @@ -69,7 +69,7 @@ def create_hyperopt_domain(self): # Uniform distribution: values are sampled between min and max. # If step is defined, we use the quantized version quniform. if param.step: - hyperopt_search_space[param.name] = hyperopt.hp.uniformint( + hyperopt_search_space[param.name] = hyperopt.hp.quniform( param.name, float(param.min), float(param.max),