Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/hyperopt/hyperopt
/ hp_choice
Function
hp_choice
hyperopt/pyll_utils.py:70–72 ·
view source on GitHub ↗
(label, options)
Source
from the content-addressed store, hash-verified
68
69
@validate_label
70
def
hp_choice(label, options):
71
ch = scope.hyperopt_param(label, scope.randint(len(options)))
72
return
scope.switch(ch, *options)
73
74
75
@validate_label
Callers
2
test_vectorize_multipath
Function · 0.90
test_vectorize_config0
Function · 0.90
Calls
no outgoing calls
Tested by
2
test_vectorize_multipath
Function · 0.72
test_vectorize_config0
Function · 0.72