Lightgbm sklearn interface and Native Interface Parameters

Source: Internet
Author: User
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 demo-tree
"Dart": Dropouts meet multiple additive regression trees
"Goss": gradient-based one-side sampling
"RF": Random Forest

Num_leaves (Int,Optional(Default = 31)): The maximum leaf node of each base learner.

  • Max_depth(Int,Optional(Default =-1)): Maximum depth of each base learner,-1 means no limit.
 

Lightgbm sklearn interface and Native Interface Parameters

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.