SciPy

This is documentation for an old release of SciPy (version 0.18.1). Search for this page in the documentation of the latest stable release (version 1.15.1).

scipy.spatial.distance.matching

scipy.spatial.distance.matching(u, v)[source]

Computes the Hamming distance between two boolean 1-D arrays.

This is a deprecated synonym for hamming.