Academy
This page is published in English.
Distance
Hamming Distance - count of positions where two equal-length sequences differ
Distance (categorical, count of differing positions)
Hamming, R. W.1950
Overview
d ≥ 0; d=0 iff a=b. Hamming Distance is symmetric.
- Output
- distance, lower is better
- Data
- Crisp, complete numeric matrix
- Size
- 2+ alternatives, 3-12 criteria works best
- Used for
- Similarity assessment, clustering
How it works
- 1
Compute the Hamming Distance between vectors a and b.
Hamming 1950, p.147 (error-detection; pending PDF page verification)
Edge cases and pitfalls
Originally defined for binary/categorical data. For continuous MCDM data an epsilon-threshold extension is required.
How to cite
Hamming, R. W. (1950). Hamming Distance. Bell System Technical Journal.
System ID, as it appears in reports and the API
DIST-HAMMING