xt.py 文件源码

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

项目:hyperband 作者: zygmuntz 项目源码 文件源码
def try_params( n_iterations, params ):

    n_estimators = int( round( n_iterations * trees_per_iteration ))
    print "n_estimators:", n_estimators
    pprint( params )

    clf = XT( n_estimators = n_estimators, verbose = 0, n_jobs = -1, **params )
    return train_and_eval_sklearn_regressor( clf, data )
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号