View source: R/evaluation_functions.R
get_index | R Documentation |
Calculate the index between two clusterings
get_index(labels1, labels2, index.name = c("ari", "hamming", "ami", "amri"))
labels1 |
label vector of clustering 1 |
labels2 |
label vector of clustering 2 |
index.name |
string indicates the type of index to evaluate, one of c('ari','hamming', 'ami','amri') |
a scalar, calculated index value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.