SklearnSVM.train

SklearnSVM.train(data, labels)[source]

Train the SVM

Parameters
  • data (numpy.ndarray) – NxD array, where N is the number of data, D is the feature dimension.

  • labels (numpy.ndarray) – Nx1 array, where N is the number of data