WLJS LogoWLJS Notebook

SokalSneathDissimilarity

SokalSneathDissimilarity[u, v] gives the Sokal–Sneath dissimilarity between Boolean vectors u and v.

This is a measure of dissimilarity between binary vectors used in clustering and classification.

Examples

SokalSneathDissimilarity[{1, 0, 1, 1}, {1, 1, 0, 1}]
SokalSneathDissimilarity[{True, False, True}, {False, False, True}]
DistanceMatrix[data, DistanceFunction -> SokalSneathDissimilarity]

*See the official Wolfram Language Reference for more details.

On this page