tidymodels / parsnip

A tidy unified interface to models
https://parsnip.tidymodels.org
Other
564 stars 78 forks source link

Adaboost #825

Closed zhaoliang0302 closed 1 year ago

zhaoliang0302 commented 1 year ago

Hi, does parsnip support adaboost?

simonpcouch commented 1 year ago

Thanks for the issue! Glad that we can document this decision publicly.

We don't plan on supporting adaptive boosting in parsnip or any extension packages that we maintain, for now. We do support gradient boosted trees via C5.0, which loosely follow up on the ideas underlying Adaboost implementations, and are generally more versatile and tunable models.

Adaptive boosting is supported in caret via the "ada" engine, and that package includes three of the classic Adaboost implementations via the type argument to ada(). That package's interface is quite principled, so if you'd like to make use of that modeling engine with parsnip, you could build your own parsnip model with that engine without too many complications!

github-actions[bot] commented 1 year ago

This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue.