Skip to content

Commit 3f62ff2

Browse files
committed
doc update
1 parent b667944 commit 3f62ff2

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

ConfigSpace/c_util.pyx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,8 @@ cpdef np.ndarray change_hp_value(
288288
# Hyperparameters which are going to be set to inactive
289289
disabled = []
290290

291-
# Hyperparameters which are going to be set activate, this is applicable to diamond conditional space:
291+
# Hyperparameters which are going to be set activate, we introduce this to resolve the conflict that might be raised
292+
# by OrConjunction:
292293
# Suppose that we have a parent HP_p whose possible values are A, B, C; a child HP_d is activate if
293294
# HP_p is A or B. Then when HP_p switches from A to B, HP_d needs to remain activate.
294295
hps_to_be_activate = set()

test/test_util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ def test_check_neighbouring_config_diamond(self):
277277

278278
np.testing.assert_almost_equal(new_array, expected_array)
279279

280-
def test_check_neighbouring_config_hierarchical_diamond(self):
280+
def test_check_neighbouring_config_diamond_or_conjunction(self):
281281
diamond = ConfigurationSpace()
282282
top = CategoricalHyperparameter('top', [0, 1], 0)
283283
middle = CategoricalHyperparameter('middle', [0, 1], 1)

0 commit comments

Comments
 (0)