(founds, references)
| 117 | |
| 118 | |
| 119 | def 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 | # 计算精度和召回 |
nothing calls this directly
no test coverage detected