1

space参数中,我将其声明为:

"langevin": hp.choice("langevin", [True, False])

fmin成功跑了。但是,当我使用: 时model = Regressor(**best),它会抛出: CatBoostError: catboost/private/libs/options/json_helper.h:157: Can't parse parameter "langevin" with value: 1

如何强制返回值为 True?

4

0 回答 0