Implementation of sklearn.svm.LinearSVC.predict.
@override int predict(List<double> X) { if (classes.length == 2) return _binPredict(X); return _predict(X); }