We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1de6398 commit 4d1bd2cCopy full SHA for 4d1bd2c
vizier/testing/test_studies.py
@@ -41,6 +41,18 @@ def flat_categorical_space() -> vz.SearchSpace:
41
return space
42
43
44
+def flat_boolean_space() -> vz.SearchSpace:
45
+ """Search space with boolean parameter types, encoded as categorical."""
46
+
47
+ space = vz.SearchSpace()
48
+ root = space.root
49
+ root.add_bool_param('bool_0')
50
+ root.add_bool_param('bool_1')
51
+ root.add_bool_param('bool_2')
52
+ root.add_bool_param('bool_3')
53
+ return space
54
55
56
def flat_continuous_space_with_scaling_trials(
57
count: int = 1,
58
) -> list[vz.TrialSuggestion]:
0 commit comments