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.
原文地址:https://www.cnblogs.com/wzdLY/p/9867719.html
时间: 2024-10-21 19:11:02