From 63c963be76c650cf5aff7c5c14c939db58d9a396 Mon Sep 17 00:00:00 2001 From: eddiebergman Date: Wed, 24 Jul 2024 14:00:09 +0200 Subject: [PATCH] bump: v1.1.3 --- pyproject.toml | 2 +- src/ConfigSpace/__version__.py | 2 +- src/ConfigSpace/hyperparameters/categorical.py | 1 - src/ConfigSpace/hyperparameters/hp_components.py | 2 -- 4 files changed, 2 insertions(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 33db0eb5..6ffab1c8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "ConfigSpace" -version = "1.1.1" +version = "1.1.3" description = """\ Creation and manipulation of parameter configuration spaces for \ automated algorithm configuration and hyperparameter tuning. \ diff --git a/src/ConfigSpace/__version__.py b/src/ConfigSpace/__version__.py index 2106a38e..fbfd3512 100644 --- a/src/ConfigSpace/__version__.py +++ b/src/ConfigSpace/__version__.py @@ -3,4 +3,4 @@ # The following line *must* be the last in the module, exactly as formatted: from __future__ import annotations -__version__ = "1.1.2" +__version__ = "1.1.3" diff --git a/src/ConfigSpace/hyperparameters/categorical.py b/src/ConfigSpace/hyperparameters/categorical.py index 4d54a2b3..bf395141 100644 --- a/src/ConfigSpace/hyperparameters/categorical.py +++ b/src/ConfigSpace/hyperparameters/categorical.py @@ -258,7 +258,6 @@ def __init__( # NOTE: Unfortunatly, numpy will promote number types to str # if there are string types in the array, where we'd rather # stick to object type in that case. Hence the manual... - print(seq_choices) if seq_choices.dtype.kind in {"U", "S"} and not all( isinstance(choice, str) for choice in choices ): diff --git a/src/ConfigSpace/hyperparameters/hp_components.py b/src/ConfigSpace/hyperparameters/hp_components.py index af2fe683..bafc3060 100644 --- a/src/ConfigSpace/hyperparameters/hp_components.py +++ b/src/ConfigSpace/hyperparameters/hp_components.py @@ -203,8 +203,6 @@ def to_vector(self, value: Array[Any]) -> Array[f64]: @override def legal_value(self, value: Array[Any]) -> Mask: - print(value) - print(value, self.seq) if self._lookup is not None: return np.array([v in self._lookup for v in value], dtype=np.bool_)