LingPy

lingpy.test.evaluate.EvalLXS.set_precision

EvalLXS.set_precision()

Compute the set precision (SPR).

Returns :

score : float

The SPR for reference and test set.

Notes

The set precision (see Bergsma2007) is defined as the number of identical cognate sets in reference and test set divided by the total number of cognate sets in the test set.