-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Creating Parsnip Model Functions #832
Comments
Oh, one of the things I don't grok is the model_info.R file in {baguette}. Where are those variables used? Or were they just for internal logging of things as you worked? |
re:
and
My sense is that the fix in the relevant commit doesn't apply here. baguette is a parsnip extension with a good few tricks up its sleeves—I may recommend a more straightforward extension like bonsai or discrim to help with pattern matching. :) My 6-months-into-this-gig-understanding: The inconsistency I'm seeing here is that If you feel those arguments are indeed engine-specific, then you need not (i.e. should not) register them with A PR incoming to yall in a moment that demonstrates my first suggestion. :) [EDIT: corrected misleading info about tunable engine arguments] |
Yeah, I was thinking I'd probably move them up to model args, but wanted to grok what was happening before doing that. Thanks for the clarifications! The reason I kept the engine separate is that conceivably we COULD integrate something like Thanks for the help! |
Will go ahead and close. Feel free to holler if you feel this issue ought to remain open! |
Will do! I don't work on this package as part of my day job anymore, but I still plan to dig into it before TOO long. |
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'm trying to grok the addition of a parsnip-friendly model function to a package. I'm specifically working to make our parsnip-friendly implementation in {tidybert} work, but I'd like to move it from "change this argument and see what happens" like I'm tending to do right now toward "do the thing because that's clearly the thing to do."
I'm trying to understand how I can actually make our parameters tunable. I'm getting an error similar to epochs in #815, which was I think mostly fixed via this baguette PR. I'm not sure I grok what happened nor if my issue is similar.
The (most) important tidybert code is in parsnip.R.
Created on 2022-10-27 with reprex v2.0.2
The text was updated successfully, but these errors were encountered: