View source: R/organize_data.R
organize_data | R Documentation |
This function joins the result of tune::fit_resamples()
to the original
dataset to give a list that can be an input for the Shiny app.
organize_data(x, hover_cols = NULL, ...)
## Default S3 method:
organize_data(x, hover_cols = NULL, ...)
## S3 method for class 'tune_results'
organize_data(x, hover_cols = NULL, ...)
x |
The |
hover_cols |
The columns to display while hovering. |
... |
Other parameters not currently used. |
The default configuration is based on the optimal value of the first metric.
A list with elements data frame and character vectors. The data frame includes
an outcome variable .outcome
, a prediction variable .pred
, model
configuration variable .config
, and hovering columns .hover
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.