biometrics / openbr

Open Source Biometrics, Face Recognition
www.openbiometrics.org
Other
2.84k stars 773 forks source link

Operating points for ROC curves #582

Closed srinivasn1 closed 3 years ago

srinivasn1 commented 3 years ago

Is there a way to extract and save the threshold values to the output file that is read by the R plotting script?

bhklein commented 3 years ago

The ROC curve is generated in br -eval -- the CSV generated from this command contains the points. In this CSV file, take a look at the rows with DET as the first column. The X value is FAR, the Y value is FRR.

srinivasn1 commented 3 years ago

Ben, below is an example from the CSV file.

DET | 8.68878e-05 | 0.95966   | FAR | 1.62742 | 8.68878e-05   | FRR | 1.62742 | 0.95966

Does 1.62742 represent the threshold? I think this would be the correct assumption. At 1.627 the FAR is 8.68e-05 and the FRR is 0.95966?

bhklein commented 3 years ago

Got it, take a look at the FAR and FRR plots then. X should be the threshold.

srinivasn1 commented 3 years ago

Great ! Thank you