LingPy

lingpy.test.evaluate.EvalLXS.compare_pairwise_decisions

EvalLXS.compare_pairwise_decisions(threshold)

Compute the number of identical decisions for pairwise scores.

Parameters :

threshold : float

The threshold which determines the cognacy decisions in the test set.

Returns :

scores : tuple

A tule containing the scores for true positives, true negatives and the general percentage of identical decisions (PID) score.