get_index_per_layer: Calculate the similarity between each layer of initial...

View source: R/evaluation_functions.R

get_index_per_layerR Documentation

Calculate the similarity between each layer of initial cluster tree and find MRTree results

Description

Calculate the similarity between each layer of initial cluster tree and find MRTree results

Usage

get_index_per_layer(labelmat1, labelmat2, index.name = "ari")

Arguments

labelmat1

n-by-m matrix, label matrix for cluster tree 1

labelmat2

n-by-m matrix, label matrix for cluster tree 2

index.name

string indicates the type of index to evaluate, one of c('ari','hamming', 'ami','amri')

Value

a numeric vector of length m, index per layer


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