The answer is hamming. Check out this tutorial on SimilarityMeasurments: http://people.revoledu.com/kardi/tutorial/Similarity/index.html
Go to school!
Hamming Code is a system involving multiple parity bits per word such that not only can errors be detected but certain types of errors can be corrected. The first Hamming Code was called (7,4) because it added 3 parity bits to 4 data bits, creating a 7 bit code. See link for example.
11001000111
Hamming Distance
4 Types of Distance Metrics in Machine Learning Euclidean Distance. Manhattan Distance. Minkowski Distance. Hamming Distance.
2t+1
2T + 1
2T + 1
In comparing two bit patterns, the Hamming distance is the count of bits different in the two patterns. More generally, if two ordered lists of items are compared, the Hamming distance is the number of items that do not identically agree. This distance is applicable to encoded information, and is a particularly simple metric of comparison, often more useful than the city-block distance (the sum of absolute values of distances along the coordinate axes) or Euclidean distance (the square root of the sum of squares of the distances along the coordinate axes). also Metric.
Hamming code is a linear error-correcting code named after its inventor, Richard Hamming. Hamming codes can detect and correct single-bit errors, and can detect (but not correct) double-bit errors. In other words, the Hamming distance between the transmitted and received code-words must be zero or one for reliable communication.
Ronald Hamming was born in 1973.
Richard Hamming was born on 1915-02-11.
Richard Hamming died on 1998-01-07.
Ineke Dezentjé Hamming-Bluemink was born in 1954.
i want hamming code matrix (h and g)