This repository has been archived by the owner on Nov 3, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
… at the end, but need to add tests
…e tested for accuracy
…s recorded at the very end
…e not updated to only calculate at the end yet
…e fpr and tpr reversed???
…e weirdness going on with auc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generally seems good and I appreciate the feature. Just have a clarification question.
(That test is fantastic btw) |
jxmsML
reviewed
Jul 1, 2021
jxmsML
reviewed
Jul 1, 2021
jxmsML
reviewed
Jul 1, 2021
jxmsML
reviewed
Jul 1, 2021
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wow, great to have! Yeah, I like the thorough tests. Will defer to others with more context for approval
jxmsML
reviewed
Jul 7, 2021
jxmsML
reviewed
Jul 7, 2021
jxmsML
approved these changes
Jul 7, 2021
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!! some nit
meganung
reviewed
Jul 7, 2021
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Patch description
Adding AUC (Area under ROC curve) metrics as an option for eval_model
Testing steps
pytest -v -k TestMetrics/ pytest -v -k TestMetric
)pytest -v -k TestAggregators
)eval_model
for both classes with micro aggregation --> checking to make sure the agents' auc resetted. (parlai em -mf zoo:dialogue_safety/multi_turn/model -t internal:civil_bias_toxic_comment:civil_bias_toxicity,dialogue_safety -auc 4 -rf parlai_internal/reports/auc_multi_safety_civil_multi.json -ne 3000 -micro True
)Logs
Testing Step 2
Results:
Testing Step 1
Testing Step 0
** Other Info **