| finalize_model_tidyclust | R Documentation |
These functions are deprecated. Please use tune::finalize_model() and
tune::finalize_workflow() instead, which now support cluster_spec
objects natively.
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())
best_params <- data.frame(num_clusters = 5)
# Old:
finalize_model_tidyclust(kmeans_spec, best_params)
# New:
tune::finalize_model(kmeans_spec, best_params)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.