Skip to content

Instantly share code, notes, and snippets.

@joshreini1
Last active November 4, 2022 15:38
Show Gist options
  • Save joshreini1/51593631ba7c46c8cc463b538b76c4c8 to your computer and use it in GitHub Desktop.
Save joshreini1/51593631ba7c46c8cc463b538b76c4c8 to your computer and use it in GitHub Desktop.
data_collections = tru.get_data_collections()
for dc in data_collections:
tru.set_data_collection(dc)
data_splits = tru.get_data_splits()
for split in data_splits:
tru.tester.add_performance_test(
data_split_name = split,
metric = 'AUC',
warn_if_less_than = 0.85,
fail_if_less_than = 0.80
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment