Skip to content

Decouple boosting typesΒ #3128

Closed
Closed

Description

@candalfigomoro

With xgboost you can build (a sort of) Random Forest by setting num_parallel_tree>1 and nrounds=1

In LightGBM we can build (a sort of) Random Forest by setting boosting='rf'

Since the num_parallel_tree and nrounds params are decoupled in xgboost, what you can do is to set num_parallel_tree>1 and nrounds>1 to build a "boosted random forest". This is not possible in LightGBM afaik.

The fact that boosting types are mutually exclusive, make also impossible to create other combinations such as dart+goss (see #2991).

The "rf" and "goss" modes should be decoupled from the boosting type. Maybe I want to use dart+rf or gbrt+rf (like in xgboost) to build boosted random forests. Maybe I want to use dart+goss.

@guolinke Maybe this can be considered for LightGBM 3 (#3071)?

Activity

  1. guolinke commented on Aug 6, 2020

    @guolinke
    Collaborator

    I think it is a useful feature, but not trivial to implement it.
    we will need to refactor the whole boosting part. And I don't have much time recently.
    @shiyu1994 is helping me for the lightgbm project recently, but he is also busy this month.
    We can start refactoring in the next couple of months.

  2. candalfigomoro commented on Aug 16, 2020

    @candalfigomoro
    Author

    I think this would be a huge win in the long term because the code would be much more modular, but I understand the required effort is big

  3. StrikerRUS commented on Jan 12, 2021

    @StrikerRUS
    Collaborator

    Closed in favor of being in #2302. We decided to keep all feature requests in one place.

    Welcome to contribute this feature! Please re-open this issue (or post a comment if you are not a topic starter) if you are actively working on implementing this feature.

  4. yiwiz-sai commented on Jun 10, 2022

    @yiwiz-sai

    This feature is very useful, hope lightgbm team can support it.

    num_parallel_tree is important to avoid overfitting, I think that's an advantage of xgboost,

  5. StrikerRUS commented on Jun 12, 2022

    @StrikerRUS
    Collaborator

    Active work happens in #4827.

  6. added a commit that references this issue on Dec 28, 2022
    fffd066
  7. github-actions commented on Aug 15, 2023

    @github-actions
    Contributor

    This issue has been automatically locked since there has not been any recent activity since it was closed.
    To start a new related discussion, open a new issue at https://github.com/microsoft/LightGBM/issues
    including a reference to this.

  8. locked as resolved and limited conversation to collaborators on Aug 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions