Closed LP308210365 closed 2 years ago
I found the func to get the threshold:"test/utils/find_nearest"
Hi! test.utils.find_nearest.acc_at_t
might be what you're looking for. It computes binary (open-set/closet-set) accuracy at a given threshold.
The choice of threshold will depend on your downstream application (e.g do you care about false positives or false negatives) and would typically be chosen on some validation examples. We didn't tackle this here! Hope this helps.
thanks a lot, this is what i want, i train the classifier32 with custom dataset, i think the given threshold can work in this domain
Hello again! I'm working on a task with your code, i have seen that all methods are evaluate by AUROC, a threshold independent metric, but now i need to predict the label by threshold, is there any func in code to do that?