MCPcopy Create free account
hub / github.com/BIT-DataLab/LakeBench / average_fscore

Function average_fscore

join/LSH/LSH_benchmark_ws.py:119–121  ·  view source on GitHub ↗
(founds, references)

Source from the content-addressed store, hash-verified

117
118
119def average_fscore(founds, references):
120 return np.mean([fscore(*get_precision_recall(found, reference))
121 for found, reference in zip(founds, references)])
122
123
124# 计算精度和召回

Callers

nothing calls this directly

Calls 2

fscoreFunction · 0.70
get_precision_recallFunction · 0.70

Tested by

no test coverage detected