Performance considerations

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

  • A linear model (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(N2) with the worst ...

Get Scala: Guide for Data Science Professionals 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.