small updates
pattern.vector: can't use probability with one-class SVM (so for DETECTION, parameter -b should be 0).