find_best_km: Find a best k for the k-means clustering

Description Usage Arguments Details Examples

View source: R/signatures.R

Description

Find a best k for the k-means clustering

Usage

1
find_best_km(mat, max_km = 15)

Arguments

mat

A matrix where k-means clustering is executed by rows.

max_km

Maximal k to try.

Details

The best k is determined by looking for the knee/elbow of the WSS curve (within-cluster sum of square).

Note this function is only for a rough and quick estimation of the best k.

Examples

1
2
# There is no example
NULL

cola documentation built on Nov. 8, 2020, 8:12 p.m.