Threshold optimization for F measure of macro-averaged precision and recall. (June 2020)