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

Function average_fscore

join/LSH/LSH_benchmark_ol.py:120–122  ·  view source on GitHub ↗
(founds, references)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

fscoreFunction · 0.70
get_precision_recallFunction · 0.70

Tested by

no test coverage detected