guess_best_k-ConsensusPartition-method: Guess the best number of partitions

Description Usage Arguments Details Value Author(s) Examples

Description

Guess the best number of partitions

Usage

1
2
## S4 method for signature 'ConsensusPartition'
guess_best_k(object, rand_index_cutoff = 0.95)

Arguments

object

a ConsensusPartition-class object.

rand_index_cutoff

the Rand index compared to previous k is larger than this, it is filtered out.

Details

The best k is voted from 1) which k has the maximum cophcor value, 2) which k has the minimal PAC value, 3) which k has the maximum mean silhouette value and 4) which k has the maximum concordance value.

Value

The best k

Author(s)

Zuguang Gu <[email protected]>

Examples

1
2
3
data(cola_rl)
obj = cola_rl["sd", "kmeans"]
guess_best_k(obj)

jokergoo/cola documentation built on Nov. 13, 2018, 1:22 p.m.