SparseKMeansClustering: Sparse K means clustering

View source: R/clustering_algorithms.R

SparseKMeansClusteringR Documentation

Sparse K means clustering

Description

Runs sparse K means clustering using implementation from KMeansSparseCluster. This function is not using stability.

Usage

SparseKMeansClustering(xdata, nc = NULL, Lambda, ...)

Arguments

xdata

data matrix with observations as rows and variables as columns.

nc

matrix of parameters controlling the number of clusters in the underlying algorithm specified in implementation. If nc is not provided, it is set to seq(1, tau*nrow(xdata)).

Lambda

vector of penalty parameters (see argument wbounds in KMeansSparseCluster).

...

additional parameters passed to KMeansSparseCluster.

Value

A list with:

comembership

an array of binary and symmetric co-membership matrices.

weights

a matrix of median weights by feature.

References

\insertRef

SparseClusteringsharp


sharp documentation built on April 11, 2025, 5:44 p.m.