powered by
Performs hierarchical clustering on a stack of consensus matrices to obtain consensus class labels.
CSPA(E, k)
cluster assignments for the consensus class
is an array of clustering results.
number of clusters
Derek Chiu
Strehl, A., & Ghosh, J. (2002). Cluster ensembles---a knowledge reuse framework for combining multiple partitions. Journal of machine learning research, 3(Dec), 583-617.
Other consensus functions: LCA(), LCE(), k_modes(), majority_voting()
LCA()
LCE()
k_modes()
majority_voting()
data(hgsc) dat <- hgsc[1:100, 1:50] x <- consensus_cluster(dat, nk = 4, reps = 4, algorithms = c("hc", "diana"), progress = FALSE) CSPA(x, k = 4)
Run the code above in your browser using DataLab