You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently using bag_mlp() with the nnet engine. I know that engine-specific arguments may be parsed through set_engine(). However, I am wondering whether there is a straightforward way to do the same with extension package arguments.
For instance, how do I parse the times argument from baguette::bagger() without having to change the default values of baguette:bagger() itself?
Many thanks for your assistance.
The text was updated successfully, but these errors were encountered:
short answer: you pass arguments to the underlying function using set_engine() so use set_engine("nnet", times = 50).
longer answer: when you go to the help page for bag_mlp, there are links to the engine-specific functions, and these tell you the underlying function (like bagger()). Any options passed to set_engine() are passed to that function.
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.
I am currently using
bag_mlp()
with the nnet engine. I know that engine-specific arguments may be parsed throughset_engine()
. However, I am wondering whether there is a straightforward way to do the same with extension package arguments.For instance, how do I parse the
times
argument frombaguette::bagger()
without having to change the default values ofbaguette:bagger()
itself?Many thanks for your assistance.
The text was updated successfully, but these errors were encountered: