码迷,mamicode.com
首页 > Windows程序 > 详细

gbdt和xgboost api

时间:2017-07-26 13:48:01      阅读:298      评论:0      收藏:0      [点我收藏+]

标签:mis   via   bre   miss   sans   gre   desc   san   linear   

class xgboost.XGBRegressor(max_depth=3learning_rate=0.1n_estimators=100silent=Trueobjective=‘reg:linear‘booster=‘gbtree‘n_jobs=1nthread=Nonegamma=0min_child_weight=1max_delta_step=0subsample=1colsample_bytree=1colsample_bylevel=1reg_alpha=0reg_lambda=1scale_pos_weight=1base_score=0.5random_state=0seed=Nonemissing=None**kwargs)

 

class sklearn.ensemble.GradientBoostingClassifier(loss=‘deviance‘learning_rate=0.1n_estimators=100subsample=1.0criterion=‘friedman_mse‘min_samples_split=2min_samples_leaf=1min_weight_fraction_leaf=0.0max_depth=3min_impurity_split=1e-07init=Nonerandom_state=Nonemax_features=Noneverbose=0max_leaf_nodes=Nonewarm_start=Falsepresort=‘auto‘)

 

gbdt和xgboost api

标签:mis   via   bre   miss   sans   gre   desc   san   linear   

原文地址:http://www.cnblogs.com/wuxiangli/p/7239026.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!