rtemis

Command Palette

Search for a command to run...

PAMKConfig

Variant

Partitioning Around Medoids with estimation of the number of clusters.

Properties

krange
integer[]≥ 1 itemsunique items

Candidate numbers of clusters to compare. Neither criterion can score a single cluster, so including 1 selects it only when a Duda-Hart test finds no evidence for more.

criterion
string

Criterion used to choose the number of clusters: "asw" = average silhouette width, "multiasw" = average silhouette width computed on random subsets, "ch" = Calinski-Harabasz index.

one of"asw""multiasw""ch"

use_pam
boolean

Fit each candidate with PAM. Disabling it uses CLARA instead, which subsamples and is intended for large datasets.

scaling
boolean

Scale each variable by its root mean square, after centering, before clustering.

alpha
number≥ 0≤ 1

Significance level of the Duda-Hart test, which decides between one cluster and more. Only used when 1 is among the candidates.

n_subsets
integer | null≥ 1

Number of random subsets the average silhouette width is computed on. Applies only when criterion is "multiasw".

Relationships

Used by