Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问能解释一下SpanFPreRecMetric中的f,pre,rec是怎么计算的嘛 #455

Open
scofield687 opened this issue Sep 30, 2023 · 2 comments

Comments

@scofield687
Copy link

你好,我在代码里发现评估效果这部分的代码封装得比较好,很难调试看到内部的信息是怎么算的,特别是SpanFPreRecMetric中的各项指标的计算,我想知道这个基于span是什么意思,他跟普通的f,pre,rec有什么不一样嘛

@yhcc
Copy link
Member

yhcc commented Oct 5, 2023

span f表示的是仅当要找的实体的起始位置和类别都正确的时候才判定为正确。这个是序列标注,例如命名实体识别中常用的一个评测指标,

@17478020
Copy link

如果实体的结束位置不正确,那会判定正确吗?

span f表示的是仅当要找的实体的起始位置和类别都正确的时候才判定为正确。这个是序列标注,例如命名实体识别中常用的一个评测指标,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants