Distant Functions
A distant function works on two elements (i.e. vectors, sets…).
A given distance function needs to fulfill properties:
- (non-negative)
- (distance to itself is zero)
- (symmetric)
- (triangle inequality)
Metric
A metric requires an additional property in addition to the four properties of a distant function:
- if and only if (coincidence axiom)
Two given elements with no distance to each other must be the same element
Jaccard Similarity