hardcoded thresh as 0.9 to avoid errors in .findOptimalThreshold