Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
要为 hyperopt 创建搜索空间,我们可以简单地执行以下操作:
space = { 'x': hp.uniform('x', -10, 10), 'y': hp.uniform('y', -10, 10) }
但是,当我想要这样的条件时,我该怎么做x + y = 1?并将其扩展到许多变量,例如x+y+z+t = 1
x + y = 1
x+y+z+t = 1