Performance considerations

You may have already observed that the training of a model for the support vector regression on a large dataset is time consuming. The performance of the support vector machine depends on the type of optimizer (for example, a sequential minimal optimization) selected to maximize the margin during training:

  • A linear model (a SVM without kernel) has an asymptotic time complexity O(N) for training N labeled observations.
  • Nonlinear models rely on kernel methods formulated as a quadratic programming problem with an asymptotic time complexity of O(N3)
  • An algorithm that uses sequential minimal optimization techniques, such as index caching or elimination of null values (as in LIBSVM), has an asymptotic time complexity of O(N

Get Scala for Machine Learning now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.