classification.py 文件源码

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

项目:LeaguePredictor 作者: dgarwin 项目源码 文件源码
def xgboo():
    # Gradient Boosted Trees to grid search
    model = XGBClassifier(seed=random_state, nthread=8)
    parameters = {'max_depth': [3, 6, 9], 'n_estimators': [50, 100, 200, 400]}
    grid = GridSearchCV(model, parameters, n_jobs=4, verbose=2)
    return grid
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号