kmeanspp_init: Determine initial centers for the kmeans++ algorithm

View source: R/utils.R

kmeanspp_initR Documentation

Determine initial centers for the kmeans++ algorithm

Description

Determine initial centers for the kmeans++ algorithm

Usage

kmeanspp_init(n_cluster, x = NULL, dm = NULL)

Arguments

x

data matrix to be clustered

dm

distance matrix (between rows of x; of class "dist")

Value

Row indices of initial cluster centers of x


scregclust documentation built on April 4, 2025, 3:03 a.m.