public double fMeasure ( double beta ) { final double beta2 = beta * beta ; double fmeasure = ( ( 1 + beta2 ) * pairconfuse [ 0 ] ) / ( ( 1 + beta2 ) * pairconfuse [ 0 ] + beta2 * pairconfuse [ 1 ] + pairconfuse [ 2 ] ) ; return fmeasure ; }
Get the pair - counting F - Measure