Interpolating between the Jaccard distance and an analogue of the normalized information distance

Bjørn Kjos-Hanssen
11/3/2021
math.MGmath.LO

Official code: bjoernkjoshanssen/jaccard (1 star, TeX, last commit 2026-06-25).

Abstract

Jiménez, Becerra, and Gelbukh (2013) defined a family of "symmetric Tversky ratio models" $S_{α,β}$, $0\leα\le 1$, $β>0$. Each function $D_{α,β}=1-S_{α,β}$ is a semimetric on the powerset of a given finite set.

Show full abstract

We show that $D_{α,β}$ is a metric if and only if $0\leα\le \frac12$ and $β\ge 1/(1-α)$. This result is formally verified in the Lean proof assistant. The extreme points of this parametrized space of metrics are $\mathcal V_1=D_{1/2,2}$, the Jaccard distance, and $\mathcal V_{\infty}=D_{0,1}$, an analogue of the normalized information distance of M. Li, Chen, X. Li, Ma, and Vitányi (2004). As a second interpolation, in general we also show that $\mathcal V_p$ is a metric, $1\le p\le\infty$, where $$Δ_p(A,B)=(|B\setminus A|^p+|A\setminus B|^p)^{1/p},$$ $$\mathcal V_p(A,B)=\frac{Δ_p(A,B)}{|A\cap B| + Δ_p(A,B)}.$$

View on arXivView PDF

Code Implementations(1)

Lean 4 version of my Jaccard repository

10TeX, LeanJun 12, 20245 months ago

Similar Papers

Cite this paper

@article{kjoshanssen2021interpolating,
  title  = {Interpolating between the Jaccard distance and an analogue of the normalized information distance},
  author = {Bjørn Kjos-Hanssen},
  year   = {2021},
  eprint = {2111.02498},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2111.02498}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2111.02498.svg)](https://codeofpaper.com/paper/2111.02498)

Discussion