Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

Commit

Permalink
Fix evaluator flag
Browse files Browse the repository at this point in the history
  • Loading branch information
vmenger committed Oct 5, 2023
1 parent c6c5220 commit d299a19
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/clin_nlp_metrics/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,7 @@ def entity_metrics(
)
)

evaluator = nervaluate.Evaluator(
true=true_anns, pred=pred_anns, tags=labels, track_ents=True
)
evaluator = nervaluate.Evaluator(true=true_anns, pred=pred_anns, tags=labels)

results, class_results = evaluator.evaluate()

Expand Down

0 comments on commit d299a19

Please sign in to comment.