CV: Working demo for binary case with svm