Skip to content

Commit

Permalink
bump: v1.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
eddiebergman committed Jul 24, 2024
1 parent bf03f87 commit 63c963b
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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. \
Expand Down
2 changes: 1 addition & 1 deletion src/ConfigSpace/__version__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
1 change: 0 additions & 1 deletion src/ConfigSpace/hyperparameters/categorical.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
):
Expand Down
2 changes: 0 additions & 2 deletions src/ConfigSpace/hyperparameters/hp_components.py
Original file line number Diff line number Diff line change
Expand Up @@ -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_)

Expand Down

0 comments on commit 63c963b

Please sign in to comment.