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

Function average_fscore

join/LSH/LSH_benchmark_wlq.py:124–126  ·  view source on GitHub ↗
(founds, references)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

fscoreFunction · 0.70
get_precision_recallFunction · 0.70

Tested by

no test coverage detected