[Changed SMV generalized code]
This is changed to interface with the SVMClassifier.