LingPy

lingpy.test.evaluate.EvalLXS.set_fscore

EvalLXS.set_fscore()

Compute the set f-score (FSC).

Returns :

score : float

The FSC for reference and test set.

Notes

The set f-score (see Bergsma2007) is calculated with help of the formula

2 \frac{pr}{p+r},

where p is the set precision and r is the set recall.