question: @ Override public double utility ( double totalWeight , double totalPositiveWeight , Hypothesis hypo ) { double g = hypo . getCoveredWeight ( ) / totalWeight ; double p = hypo . getPositiveWeight ( ) / hypo . getCoveredWeight ( ) ; if ( hypo . getPrediction ( ) == Hypothesis . POSITIVE_CLASS ) { return Math . sqrt ( g ) * ( p - this . priors [ Hypothesis . POSITIVE_CLASS ] ) ; } else { return Math . sqrt ( g ) * ( p - this . priors [ Hypothesis . NEGATIVE_CLASS ] ) ; } }
target:  Calculates the utility for the given number of examples,positive examples and hypothesis 