Hi,
I am trying to understand how the fit_members function in the stacks package works. After passing the candidate models and fitting them to the training set, how can we then fit the ensemble to the entire data ?
Thanks for your help!
Hi,
I am trying to understand how the fit_members function in the stacks package works. After passing the candidate models and fitting them to the training set, how can we then fit the ensemble to the entire data ?
Thanks for your help!
That's what fit_members()
does. The model objects that go into the data stack used cross-validation to estimate the models. Using those results, the stacking model chooses which of the members to keep in the ensemble. After it chooses the models to use, fit_member()
generates their model fits on the original training set.
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.
If you have a query related to it or one of the replies, start a new topic and refer back with a link.