Learn R Programming

pintervals (version 1.0.1)

bcss_compute: Function to compute the between-cluster sum of squares (BCSS) for a set of clusters

Description

Function to compute the between-cluster sum of squares (BCSS) for a set of clusters

Usage

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

Value

A numeric value representing the BCSS for the clusters

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