private ClassicCounter < Pair < F , L > > convertWeights ( ClassicCounter < Integer > weights , Index < F > featureIndex , Index < L > labelIndex , boolean multiclass ) { return multiclass ? convertSVMStructWeights ( weights , featureIndex , labelIndex ) : convertSVMLightWeights ( weights , featureIndex , labelIndex ) ; }
Converts the weight Counter to be from indexed svm_light format to a format we can use in our LinearClassifier .