ch_index: Function to Compute the Calinski-Harabasz Index for a Set of...

View source: R/helpers.R

ch_indexR Documentation

Function to Compute the Calinski-Harabasz Index for a Set of Clusters

Description

Function to Compute the Calinski-Harabasz Index for a Set of Clusters

Usage

ch_index(ncs, class_vec, clusters, q = seq(0.1, 0.9, by = 0.1))

Arguments

ncs

Vector of non-conformity scores

class_vec

Vector of class labels

clusters

List of clusters, where each element is a vector of class labels assigned to that cluster

q

Quantiles to use for the qECDFs, default is a sequence from 0.1 to 0.9 in steps of 0.1

Value

A numeric value representing the Calinski-Harabasz index for the clusters


pintervals documentation built on March 3, 2026, 5:06 p.m.