put up a pattern detector wrapper and it's svm model