public static double falseNegativeRate ( long fnCount , long tpCount , double edgeCase ) { //Edge case if ( fnCount == 0 && tpCount == 0 ) { return edgeCase ; } return fnCount / ( double ) ( fnCount + tpCount ) ; }
Calculate the false negative rate from the false negative counts and true positive count