stacks 0.2.0
This release integrates the package more closely with the tidymodels ecosystem, including support for finetune and workflowsets. It also introduces support for fitting ensembles with an elastic net and features a number of bug fixes and other improvements.
Breaking changes
This release of the package changes some elements of the internal structure
of model stacks. As such, model stacks stored as saved objects will need to
be regenerated before predicting, plotting, printing, etc.
New features
- The package now supports elastic net models as a meta-learner via
themixtureargument toblend_predictions. - The package can now add candidates from
workflow_mapobjects
from the new {workflowsets} package. The interface toadd_candidates
for doing so is the same as withtune_resultsobjects, and
add_candidatesis now a generic function. - Objects tuned with racing methods from the {finetune} package can now be
added as candidate members.
Bug fixes
- Fixed bug in determining member hyperparameters during member
fitting when using non-RMSE/ROC AUC metrics. - Fixed bug arising from model definition names that are not valid column
names. The package will now message in the case that the provided names
are not valid column names and usemake.namesfor associated candidate
members.
Miscellaneous improvements
- Drop {digest} dependency in favor of {tune}/{rsample} "fingerprinting"
to check consistency of resamples. fit_members()will now warn when supplied a model stack whose
members have already been fitted.- Integrate with {tune} functionality for appropriately coloring errors,
warnings, and messages. - Improved faceting and axis scales to make
autoplotwithtype = "members"
more informative. - Various improvements to documentation.