4
$\begingroup$

The similarity measure between two attributes always falls in the range of $[0,1]$, why is this not true in the case of dissimilarity where the value falls in the range of $[0, \infty)$?

Can't the dissimilarity between them be thought of as the opposite of similarity in the sense that if they have a similarity of 0, then the dissimilarity will be 1 and vice versa?

$\endgroup$
2
  • 1
    $\begingroup$ From my understanding, a dissimilarity measure falls between $[0,1]$ while a distance is bounded by $[0,u]$ where $u$ is the upper bound of the distance. Hence a dissimilarity can be calculated by normalising the distance. $\endgroup$
    – Mari153
    Commented Jan 20, 2023 at 6:56
  • 2
    $\begingroup$ I suspect the terms "similarity measure" and "dissimilarity measure" are loose and qualitative, having no universally recognized meaning (unlike, say, a metric, which has a nearly universally understood axiomatic definition in mathematics). What, then, do you mean by them? $\endgroup$
    – whuber
    Commented Jan 20, 2023 at 17:23

1 Answer 1

6
$\begingroup$

You are correct that dissimilarity is the opposite of similarity. However, it is not true that all similarity metrics are bounded between 0 and 1. For example, you can use dot product as a measure of similarity and it's non-negative without an upper bound. Cosine similarity is bounded between -1 and 1.

Also, distance (dissimilarity) metrics aren't necessarily unbounded: there are also normalized metrics that have upper bounds.

For many unbounded metrics, when applying them we know what are the practical bounds (it's practically impossible to be higher than something). So both can be bounded and unbounded. The mathematical definition of distance mentions that it's non-negative not to put unnecessary constraints on it, but this doesn't mean that there do not exist distance metrics that are bounded.

Also, keep in mind that having the bound doesn't change much. If you have a metric that theoretically falls between 0 and 1 but 99% of the time the values fall between 0.1 and 0.15, then the value of 0.2 could actually be interpreted as high. The upper bound doesn't necessarily help to interpret the values, with the exception of extremes.

$\endgroup$
2
  • $\begingroup$ In that case is it okay to say that the measure of similarity between two objects i and j may be expressed as u - dis(i,j) where u represents the upper bound value of the dissimilarity metric ? $\endgroup$ Commented Jan 25, 2023 at 4:42
  • $\begingroup$ @AshminJayson as noticed in the comment by whuber, "similarity" and "dissimilarity" are not commonly recognized and formally defined terms. So the answer depends on how you define them. Distance metric (sometimes called dissimilarity) is formally defined, but the definition does not mention any bound for it, so your suggestion wouldn't make sense there. Similarity is usually considered as something opposite of distance, but only distance has a formal definition. $\endgroup$
    – Tim
    Commented Jan 25, 2023 at 7:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.