diff --git a/neps/search_spaces/hyperparameters/numerical.py b/neps/search_spaces/hyperparameters/numerical.py index 344d5630..9aaaf6d1 100644 --- a/neps/search_spaces/hyperparameters/numerical.py +++ b/neps/search_spaces/hyperparameters/numerical.py @@ -246,10 +246,6 @@ def _get_truncnorm_prior_and_std(self) -> tuple[TruncNorm, float]: confidence_score=self.default_confidence_score, ) - std = (high - low) * self.default_confidence_score - a, b = (low - default) / std, (high - default) / std - return scipy.stats.truncnorm(a, b), float(std) - def to_integer(self) -> IntegerParameter: """Convert the numerical hyperparameter to an integer hyperparameter.""" from neps.search_spaces.hyperparameters.integer import IntegerParameter