mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-24 00:46:28 +03:00
add textcat score
This commit is contained in:
parent
396b33257f
commit
e931f4d757
|
@ -323,3 +323,6 @@ ents_f = {{ (1.0 / components|length)|round(2) }}
|
|||
ents_p = 0.0
|
||||
ents_r = 0.0
|
||||
{%- endif -%}
|
||||
{%- if "textcat" in components %}
|
||||
cats_score = {{ (1.0 / components|length)|round(2) }}
|
||||
{%- endif -%}
|
||||
|
|
Loading…
Reference in New Issue
Block a user