You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)?
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.
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.
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.
Activity
guolinke commentedon Aug 6, 2020
I think it is a useful feature, but not trivial to implement it.
we will need to refactor the whole
boostingpart. 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.
candalfigomoro commentedon Aug 16, 2020
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
StrikerRUS commentedon Jan 12, 2021
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.
yiwiz-sai commentedon Jun 10, 2022
This feature is very useful, hope lightgbm team can support it.
num_parallel_treeis important to avoid overfitting, I think that's an advantage of xgboost,StrikerRUS commentedon Jun 12, 2022
Active work happens in #4827.
Decouple Boosting Types (fixes #3128) (#4827)
github-actions commentedon Aug 15, 2023
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.