Skip to content

Tversky index

simTversky(x,y)=xyxy+αxy+βyxsim_{Tversky}(x, y) = \frac{|x \cap y|}{|x \cap y| + \alpha |x \setminus y| + \beta |y \setminus x|}

Where:

  • xyx \setminus y denotes the relative complement of yy in xx.
  • α,β0\alpha, \beta \ge 0 are parameters of the Tversky index.

The Tversky index can be seen as a generalization of the Dice coefficient and the Jaccard index.

Reading