This is an old revision of the document!
Quirks:
When training a two-class SVM using libLinear or libSVM, one behavior to keep in mind is that the label of the first training example is used as the positive data. So if your training data contains two classes {-1,1} and the first training example happened to be labeled -1, then the direction of the decision boundary will be swapped.
A simple way to check if this is the case if to look at the Label field of the MATLAB struct that is output from libLinear's train and libSVM's svmtrain functions. Even if you use the library's predict function (predict and svmpredict), it is still up to the user to translate the labels.
Source: