@ Deprecated public double scoreOf ( RVFDatum < L , F > example , L label ) { int iLabel = labelIndex . indexOf ( label ) ; double score = 0.0 ; Counter < F > features = example . asFeaturesCounter ( ) ; for ( F f : features . keySet ( ) ) { score += weight ( f , iLabel ) * features . getCount ( f ) ; } return score + thresholds [ iLabel ] ; }
Returns the score of the RVFDatum for the specified label . Ignores the true label of the RVFDatum .