A categorical distance function that measures distance as the number of substitutions necessary to convert one sample to the other.
Data Type Compatibility: Categorical
This kernel does not have any parameters.
use Rubix\ML\Kernels\Distance\Hamming; $kernel = new Hamming();
- R. W. Hamming. (1950). Error detecting and error correcting codes.