How to use classification threshold to balance precision and recall

How to use classification threshold to balance precision and recall