-
Notifications
You must be signed in to change notification settings - Fork 42
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
Placement of the eval_time
argument
#857
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On board for mostly not touching grid_code_paths.R
. Does check_initial()
need a change here?
eval_time = eval_time, | ||
control = control, | ||
add_validation_set = add_validation_set | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for adding the names here!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Safety! 😆
Good shout! Added in ff1af86 |
The changes for finetune are in tidymodels/finetune#104 The tests in extratests are being run for both PRs in tidymodels/extratests#201 Without the changes to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good. :)
From my perspective, this PR and it's finetune friend are ready to merge!
I'd say we wait to file revdep breakages until we've merged the coming dots changes and possible brier score introduction in #859, as there may be some overlap.
This pull request 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. |
This PR moves the
eval_time
argument right aftermetrics
(ormetric
) for user-facing functions:fit_resamples()
,tune_grid()
,tune_bayes()
last_fit()
fit_best()
show_best()
,select_by_pct_loss()
autoplot()
Corresponding changes should happen in finetune for
tune_race_anova()
,tune_race_win_loss()
, andtune_sim_anneal()
.This PR does not touch
.estimate_metrics()
because theeval_time
argument there should be removed, see #856. It also does not touch the argument order of the internal loop functions because the inconsistent naming of other arguements paired with passing arguments by position makes it likely to introduce bugs, so leaving this to #742.The revdeps for these changes: