Exact-decimal event evaluation with maximum-cardinality matching
| 评测报告内容 | 可以据此回答的问题 |
|---|---|
| summary | 总参考数、总预测数、TP/FP/FN 和 Precision/Recall/F1 是多少? |
| by_label、by_recording | 哪个类别或哪段录制需要检查? |
| matches | 具体选中了哪些一对一配对,时间差和容差是多少? |
| false_positives、false_negatives | 哪条预测未匹配、哪条参考未检出?是没有合格候选,还是在本次最大匹配中未选中? |
| work | 本次候选检查、合格边和匹配工作步数是多少? |
{
"counts": {
"reference": 1,
"prediction": 2,
"tp": 1,
"fp": 1,
"fn": 0
},
"precision": 0.5,
"recall": 1,
"f1": 0.6666666666666666
}| 任务 | 输入与操作 | 输出如何用于下一步 |
|---|---|---|
| 多段声音事件评测 | 两段录制、两类别的参考/预测JSON,执行evaluate | 用逐录制/逐类指标及FP/FN事件定位重复预测与漏检 |
| 动作片段核对 | 同类动作区间有多个候选,执行evaluate | 核对所选一对一配对,区分候选竞争和遗漏;只用collar口径,不算IoU/mAP |
| 模型版本回归 | 分别评测两版预测,再解释变化事件对 | 外部脚本比较F1从1到0.5,解释定位到起点0.21>0.2越界 |
moon add z2823253773-p/mooneventeval@0.1.0git clone https://github.com/z2823253773-p/mooneventeval.git
cd mooneventevalpython3 scripts/install_toolchain.pyscripts/with-toolchain.sh moon build cmd/mooneventeval --target native --release --deny-warn
_build/native/release/build/cmd/mooneventeval/mooneventeval.exe --help
_build/native/release/build/cmd/mooneventeval/mooneventeval.exe --version
_build/native/release/build/cmd/mooneventeval/mooneventeval.exe evaluate examples/duplicate.json --format json
_build/native/release/build/cmd/mooneventeval/mooneventeval.exe evaluate examples/greedy-trap.json --format json
_build/native/release/build/cmd/mooneventeval/mooneventeval.exe evaluate examples/boundary.json --format json
_build/native/release/build/cmd/mooneventeval/mooneventeval.exe explain-pair examples/boundary.json --recording clip-01 --reference r1 --prediction p1 --format jsonscripts/with-toolchain.sh moon -C examples/moonbit-consumer run main --target native --release --deny-warn| 入口 | 实现内容 |
|---|---|
| time.mbt、eligibility.mbt | MoonBit精确时间解析与配对资格规则 |
| matching.mbt、evaluation.mbt | MoonBit最大匹配、分组和评测 |
| report_json.mbt、dispatch.mbt | MoonBit报告、错误协议与CLI调度 |
| io_stub.c | native文件/输出I/O适配,不实现评分 |
| validation、开发脚本 | Python参考/独立验证、安装和打包工具,不是产品评分依赖 |
Install
Download zipExact-decimal event evaluation with maximum-cardinality matching