1. 程式人生 > >lightgbm的sklearn接口和原生接口參數詳細說明及調參指點

lightgbm的sklearn接口和原生接口參數詳細說明及調參指點

type eight ssi cti gradient sam tin 原生 decision

class lightgbm.LGBMClassifier(boosting_type=gbdt, num_leaves=31, max_depth=-1, learning_rate=0.1, n_estimators=10, max_bin=255, subsample_for_bin=200000, objective=None, min_split_gain=0.0, min_child_weight=0.001, min_child_samples=20, subsample=1.0, subsample_freq=1, colsample_bytree=1.0, reg_alpha=0.0, reg_lambda=0.0, random_state=None, n_jobs=-1, silent=True, **kwargs)
boosting_type:default="gbdt"
         "gbdt":Gradient Boosting Decision Tree
         "dart":Dropouts meet Multiple Additive Regression Trees
         "goss":Gradient-based One-Side Sampling
         "rf": Random Forest

num_leaves (int, optional (default=31)):每個基學習器的最大葉子節點

  • max_depth (int, optional (default=-1
    )):每個基學習器的最大深度, -1 means no limit.
 

lightgbm的sklearn接口和原生接口參數詳細說明及調參指點