ks_cluster: Function to Perform Kolmogorov-Smirnov Clustering on...

View source: R/helpers.R

ks_clusterR Documentation

Function to Perform Kolmogorov-Smirnov Clustering on Non-Conformity Scores

Description

Function to Perform Kolmogorov-Smirnov Clustering on Non-Conformity Scores

Usage

ks_cluster(ncs, class_vec, m, maxit = 100, nrep = 10)

Arguments

ncs

Vector of non-conformity scores

class_vec

Vector of class labels

m

Number of clusters to form

maxit

Maximum number of iterations for the clustering algorithm

nrep

Number of repetitions for the clustering algorithm

Value

A vector of cluster assignments, with attributes containing the clusters, coverage gaps, method used, number of clusters, and Calibrated Clustering index


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