LingPy

This documentation is for version 2.0.dev, which is not released yet.

Distance (distance)

Functions

jaccard(set1, set2) Computer the Jaccard distance between two sets.
hamming(str1, str2) Compute the Hamming distance between two strings.
euclidean(p, q) Distance between two points (p, q) in any dimension of space.
pearson(x, y) Pearson correlation coefficient.

Table Of Contents

This Page