threshold function

Identifying/extracting the best threshold to convert probabilities to Presence/Absences