clu_tune | R Documentation |
Creates an object for tuning clustering models. This object can be used to fit and optimize clustering algorithms by specifying hyperparameter ranges
clu_tune(base_model)
base_model |
base model for tuning |
returns a clu_tune
object.
data(iris)
# fit model
model <- clu_tune(cluster_kmeans(k = 0))
ranges <- list(k = 1:10)
model <- fit(model, iris[,1:4], ranges)
model$k
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.