finalize_model_tidyclust | R Documentation |
The finalize_*
functions take a list or tibble of tuning parameter values
and update objects with those values.
finalize_model_tidyclust(x, parameters)
finalize_workflow_tidyclust(x, parameters)
x |
A recipe, |
parameters |
A list or 1-row tibble of parameter values. Note that the
column names of the tibble should be the |
An updated version of x
.
kmeans_spec <- k_means(num_clusters = tune())
kmeans_spec
best_params <- data.frame(num_clusters = 5)
best_params
finalize_model_tidyclust(kmeans_spec, best_params)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.