Feature Request: Allow fit_xy
for gen_additive_mod
when not using the "mgcv" engine
#775
Labels
feature
a feature request or enhancement
The current implementation of
gen_additive_mod
disablesfit_xy
due to the "mgcv" engine's use of formulas to specify smooths. I think this restriction is toomgcv
specific, and may cause issues for other engines which specify smooths outside of the formula. Ideally,fit_xy
could be disabled whenengine = "mgcv"
, and enabled otherwise.As an example, I am currently working on a package,
wand
, which allows users to specify smooths outside of a formula (example follows). I've currently got it running as its own model,nn_additive_mod
, to work around thefit_xy
restriction, but I think it would be a good candidate engine forgen_additive_mod
.I'd love to hear what ya'll think, thank you!
Ben
The text was updated successfully, but these errors were encountered: