Open topepo opened 3 years ago
@topepo do you have a preference between the two options? I tend towards trying to avoid restricting the family but I guess that means ~adding~ running glmnet-specific code in parsnip::fit.model_spec()
(in these lines) and parsnip::fit_xy.model_spec()
If we make the changes in parsnip, we might not need to touch the extension packages with glmnet engines
Similar to tidymodels/parsnip#483
Created on 2021-05-04 by the reprex package (v1.0.0.9000)
We should add class to the
parsnip
model or restrict this family for this engine.