fix a mistake on using liblinear, it turns out the weight returned by
liblinear needs to compare with each other (as it is multi-class
classifier in nature), thus, for two class classification, and you want
to use 0 as the threshold, what you really want is w[class1] - w[class2]
as the final weight.