forge_from_workflow | R Documentation |
These are not to be meant to be invoked directly by users.
forge_from_workflow(new_data, workflow)
finalize_workflow_preprocessor(workflow, grid_preprocessor)
.estimate_metrics(
dat,
metric,
param_names,
outcome_name,
event_level,
metrics_info = metrics_info(metrics)
)
.load_namespace(x)
initialize_catalog(control, env = rlang::caller_env())
.catch_and_log(.expr, ..., bad_only = FALSE, notes, catalog = TRUE)
.catch_and_log_fit(.expr, ..., notes)
new_data |
A data frame or matrix of predictors to process. |
workflow |
A workflow. |
grid_preprocessor |
A tibble with parameter information. |
dat |
A data set. |
metric |
A metric set. |
param_names |
A character vector of tuning parameter names. |
outcome_name |
A character string for the column of |
event_level |
A logical passed from the control function. |
metrics_info |
The output of |
x |
A character vector of package names. |
.expr |
Code to execute. |
... |
Object to pass to the internal |
bad_only |
A logical for whether warnings and errors should be caught. |
notes |
Character data to add to the logging. |
catalog |
A logical passed to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.