Counter < F > function ( Collection < F > arg0 ) { Counter < F > loc0 = new ClassicCounter < > ( ) ; for ( F loc1 : arg0 ) { int loc2 = featureIndex . indexOf ( loc1 ) ; if ( loc2 >= 0 ) { loc0 . incrementCount ( loc1 , weights [ loc2 ] ) ; } } return loc0 ; }
returns the weights assigned by the classifier to each feature concode_field_sep LogPrior prior concode_elem_sep Index<F> featureIndex concode_elem_sep L[] classes concode_elem_sep boolean biased concode_elem_sep long serialVersionUID concode_elem_sep double[] weights concode_field_sep Counter<F> weightsAsCounter concode_elem_sep double[] getWeights concode_elem_sep double probabilityOf concode_elem_sep double probabilityOf concode_elem_sep double probabilityOf concode_elem_sep double probabilityOf concode_elem_sep L classOfRVFDatum concode_elem_sep double scoreOf concode_elem_sep double scoreOf concode_elem_sep Counter<L> scoresOf concode_elem_sep Counter<L> scoresOf concode_elem_sep void main concode_elem_sep L getLabelForInternalNegativeClass concode_elem_sep double probabilityOfRVFDatum concode_elem_sep L classOf concode_elem_sep L classOf concode_elem_sep L classOf concode_elem_sep L classOf concode_elem_sep Collection<L> labels concode_elem_sep void trainWeightedData concode_elem_sep Counter<L> scoresOfRVFDatum concode_elem_sep String toString concode_elem_sep L getLabelForInternalPositiveClass concode_elem_sep Index<F> getFeatureIndex concode_elem_sep void train concode_elem_sep void train