Skip to content

Instantly share code, notes, and snippets.

@jacobmarks
Last active November 9, 2022 22:56
Show Gist options
  • Save jacobmarks/5e46516a879ab12843573564f6871448 to your computer and use it in GitHub Desktop.
Save jacobmarks/5e46516a879ab12843573564f6871448 to your computer and use it in GitHub Desktop.
binary classification task evaluation
results = dataset.evaluate_classifications(
"predictions",
gt_field="ground_truth",
eval_key="eval",
method="binary",
classes=["classA", "classB"],
)
results.print_report()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment