LingPy

lingpy.test.evaluate.EvalMSA.jc_score

EvalMSA.jc_score()

Calculate the Jaccard (JC) score.

Returns :

score : float

The JC score.

Notes

The Jaccard score (see List2012) is calculated by dividing the size of the intersection of residue pairs in reference and test alignment by the size of the union of residue pairs in reference and test alignment.