LingPy

lingpy.test.evaluate.EvalLXS

class lingpy.test.evaluate.EvalLXS(gold, test)

Basic class for comparing automatic lexicostatistical analyses.

Parameters :

gold, test : lingpy.lexstat.LexStat

The LexStat objects which shall be compared. The first object should be the gold standard and the second object should be the test set.

Methods

compare_pairwise_decisions(threshold) Compute the number of identical decisions for pairwise scores.
pid_score() Compute the pairwise identical decisions (PID) score.
pind_score() Compute the pairwise identical negative decisions (PIND) score.
pipd_score() Compute the pairwise identical positive decisions (PIPD) score.
set_fscore() Compute the set f-score (FSC).
set_precision() Compute the set precision (SPR).
set_recall() Compute the set recall (SRE).