Fully working SVM-based local classifier.