predict method

  1. @override
int predict(
  1. List<double> X
)
override

Implementation of sklearn.svm.LinearSVC.predict.

Implementation

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