clu_tune: Clustering Tune

View source: R/clu_tune.R

clu_tuneR Documentation

Clustering Tune

Description

Creates an object for tuning clustering models. This object can be used to fit and optimize clustering algorithms by specifying hyperparameter ranges

Usage

clu_tune(base_model)

Arguments

base_model

base model for tuning

Value

returns a clu_tune object.

Examples

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

daltoolbox documentation built on Nov. 3, 2024, 9:06 a.m.