How to save TPR and FPR #1593
-
What is the motivation for this task?I need to save ROC curves for different models Describe the solution you'd likeHow can I save the TPR and FPR of the optimal AUROC, or how can I use the saved optimal weights to save TPR and FPR? I need to save ROC curves for different models Additional contextNo response |
Beta Was this translation helpful? Give feedback.
Answered by
blaz-r
Dec 31, 2023
Replies: 1 comment
-
Hello. Check auroc.py. The file contains code for calculation of tpr and fpr as well as plotting for AUROC. You can modify that or create a separate metric and save it inside |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ashwinvaidya17
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello. Check auroc.py. The file contains code for calculation of tpr and fpr as well as plotting for AUROC. You can modify that or create a separate metric and save it inside
/anomalib/utils/metrics/
.