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