bioRxivNeurosciencePreprint
Pairwise Relative Distance (PRED) is an intuitive and robust metric for assessing vector similarity and class separability
Abstract
Scientific studies often require assessment of similarity between ordered sets of values. Each set, containing one value for every dimension or class of data, can be conveniently represented as a vector. The commonly used metrics for vector similarity include angle-based metrics, such as cosine similarity or Pearson correlation, which compare the relative patterns of values, and distance-based metrics, such as the Euclidean distance, which compare the magnitudes of values. Here we evaluate a newly proposed metric, pairwise relative distance (PRED), which considers both relative patterns and magnitudes to provide a single measure of vector similarity. PRED essentially reveals whether the vectors are so similar that their values across the classes are separable. By comparing PRED to other common metrics in a variety of applications, we show that PRED provides a stable chance level irrespective of the number of classes, is invariant to global translation and scaling operations on data, has high dynamic range and low variability in handling noisy data, and can handle multi-dimensional data, as in the case of vectors containing temporal or population responses for each class. We also found that PRED can be adapted to function as a reliable metric of class separability even for datasets that lack the vector structure and simply contain multiple values for each class.
- Citations
- 0
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Validating the representation of distance between infarctdiseases using Word2Vec word embedding
Daiki Yokokawa, Kazutaka Noda, … Masatomi Ikusaka·bioRxiv·Jun 21, 2022
- A user-friendly guide to using distance measures to compare time series in ecology.
S. Dove, M. Bohm, … D. Murrell·bioRxiv·May 11, 2022
- Mercator: An R Package for Visualization ofDistance Matrices
Zachary B. Abrams, Caitlin E. Coombes, … Kevin R. Coombes·bioRxiv·Aug 15, 2019
- An analysis and comparison of the statistical sensitivity of semantic similarity metrics
Prashanti Manda, Todd Vision·bioRxiv·May 22, 2018
- REVA: a rank-based multi-dimensional measure of correlation
Bahman Afsari, Alexander V. Favorov, … Leslie Cope·bioRxiv·May 25, 2018
- CluSim: a Python package for the comparison of clusterings and dendrograms
Alexander J. Gates, Yong‐Yeol Ahn·bioRxiv·Sep 6, 2018