Extracting individual models from stacking regressor #488
-
I am using "ensemble" = True and "model_history" = True. I would like to extract individual models from the following stacking regressor. What is the procedure? StackingRegressor(estimators=[('lgbm', |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
StackingRegressor object has an attribute "estimators_", which a list of estimators. Is that what you are looking for? |
Beta Was this translation helpful? Give feedback.
-
No, I would like to load individually trained sub-models (best lgb, best rf, etc.). I would like to make predictions from each one of them separately for comparison. |
Beta Was this translation helpful? Give feedback.
-
Hi Chi,
You can contact me at ***@***.***
Best regards,
Sukanta
…--
Sukanta Basu
Associate Professor
Faculty of Civil Engineering and Geosciences
Delft University of Technology
T: +31-15-27 89358 (office)
T: +31-6-15557518 (cell)
https://sites.google.com/view/sukantabasu/
https://www.researchgate.net/profile/Sukanta_Basu
https://scholar.google.com/citations?user=08bv9p8AAAAJ&hl=en
----------------------------------------------------------
On 15 Sep 2022, at 00:07, Chi Wang ***@***.***> wrote:
@Sukantabasu <https://github.com/Sukantabasu> Thanks for your feedback. I have some followup questions for you. Do you mind joining on gitter <https://gitter.im/FLAMLer/community>? Or if there is an alternative way to contact you, could you please let me know? Thank you very much.
—
Reply to this email directly, view it on GitHub <#488 (reply in thread)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AL6WSR2OGGL65SSZ3WR4M4LV6JEBVANCNFSM5REPWDDQ>.
You are receiving this because you were mentioned.
|
Beta Was this translation helpful? Give feedback.
These two attributes can be used:
https://microsoft.github.io/FLAML/docs/reference/automl#best_model_for_estimator
https://microsoft.github.io/FLAML/docs/reference/automl#best_loss_per_estimator