utils.py 文件源码

python
阅读 24 收藏 0 点赞 0 评论 0

项目:hyperas 作者: maxpumperla 项目源码 文件源码
def eval_hyperopt_space(space, vals):
    """
    Evaluate a set of parameter values within the hyperopt space.
    Optionally unpacks the values, if they are wrapped in lists.
    :param space: dict
        the hyperopt space dictionary
    :param vals: dict
        the values from a hyperopt trial
    :return: evaluated space
    """
    unpacked_vals = unpack_hyperopt_vals(vals)
    return space_eval(space, unpacked_vals)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号