You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On this blog post about NER evaluation, the author uses nervaluate, and also shows with a snippet of code how to quickly pack the results from a dictionary to a DataFrame:
from collections import defaultdict
def flip_nested_dict(dd):
result = defaultdict(dict)
for k1, d in dd.items():
for k2, v in d.items():
result[k2][k1] = v
return dict(result)
I will add this as yet another format to export the results from the Evaluator.
The text was updated successfully, but these errors were encountered:
On this blog post about NER evaluation, the author uses
nervaluate
, and also shows with a snippet of code how to quickly pack the results from a dictionary to aDataFrame
:I will add this as yet another format to export the results from the
Evaluator
.The text was updated successfully, but these errors were encountered: