Reputation: 47
The Scam package allows to create Shape Constrained Additive Models and uses some routines from the mgcv package.
The Parsnip package from the Tidymodels framework allows to create the following types of models using specific engines: https://www.tidymodels.org/find/parsnip/
Shape Constrained Additive Models aren't mentioned in this list. Is there a way to create such models using Parsnip?
Upvotes: 0
Views: 98
Reputation: 226
You could extend parsnip to fit this type of model. The best place to start is How to build a parsnip model on tidymodels.org.
Upvotes: 1