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

Function average_fscore

join/LSH/LSH_benchmark_wl.py:125–127  ·  view source on GitHub ↗
(founds, references)

Source from the content-addressed store, hash-verified

123
124
125def average_fscore(founds, references):
126 return np.mean([fscore(*get_precision_recall(found, reference))
127 for found, reference in zip(founds, references)])
128
129
130# 计算精度和召回

Callers

nothing calls this directly

Calls 2

fscoreFunction · 0.70
get_precision_recallFunction · 0.70

Tested by

no test coverage detected