distanceHD: Distance Metrics for High-Dimensional Clustering

We provide three distance metrics for measuring the separation between two clusters in high-dimensional spaces. The first metric is the centroid distance, which calculates the Euclidean distance between the centers of the two groups. The second is a ridge Mahalanobis distance, which incorporates a ridge correction constant, alpha, to ensure that the covariance matrix is invertible. The third metric is the maximal data piling distance, which computes the orthogonal distance between the affine spaces spanned by each class. These three distances are asymptotically interconnected and are applicable in tasks such as discrimination, clustering, and outlier detection in high-dimensional settings.

Package details

AuthorJung Ae Lee [aut, cre], Jeongyoun Ahn [aut]
MaintainerJung Ae Lee <jungaeleeb@gmail.com>
LicenseGPL (>= 2)
Version1.2
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("distanceHD")

Try the distanceHD package in your browser

Any scripts or data that you put into this service are public.

distanceHD documentation built on April 3, 2025, 11:21 p.m.