Skip to content

Commit

Permalink
add new arguments from tune
Browse files Browse the repository at this point in the history
  • Loading branch information
simonpcouch committed Dec 18, 2023
1 parent 485f59b commit 7f7391f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions R/tune.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ tune_grid_loop_iter_agua <- function(split,
workflow,
metrics,
control,
seed) {
eval_time = NULL,
seed,
metrics_info = NULL,
params = NULL) {
h2o::h2o.no_progress(
tune_grid_loop_iter_agua_impl(
split,
Expand Down Expand Up @@ -309,7 +312,8 @@ pull_h2o_metrics <- function(predictions,
metrics,
param_names,
outcome_name,
event_level
event_level,
metrics_info = tune::metrics_info(metrics)
)
metrics %>% dplyr::bind_cols(fold_id)
}
Expand Down

0 comments on commit 7f7391f

Please sign in to comment.