get_index: Calculate the index between two clusterings

View source: R/evaluation_functions.R

get_indexR Documentation

Calculate the index between two clusterings

Description

Calculate the index between two clusterings

Usage

get_index(labels1, labels2, index.name = c("ari", "hamming", "ami", "amri"))

Arguments

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')

Value

a scalar, calculated index value


pengminshi/MRtree documentation built on March 6, 2023, 4:20 p.m.