Know any good c++ support vector machine (SVM) libraries?

22,641

Solution 1

  • SVMTorch (support vector machines for large-scale regression problems) implemented in the torch machine learning library.
  • mySVM - based on the optimization algorithm of SVM-Light.

A comprehensive list of SVM libraries can be found here.

Solution 2

I've used SVMLight before and found it to be very stable and fast. I had a good experience using it and would recommend it.

However, I think there is probably less documentation on SVMLight than libSVM; just the papers by Thorsten Joachims and the comments in the source code. I didn't find the source too hard to follow in general, but you need to read the papers beforehand to understand the background. It's also written in pure C, not C++, if that matters to you.

As for 'new players', the new research is mostly into making the SVM optimisation algorithms more efficient. For example, using stochastic gradient descent as in svmsgd and pegasos. I haven't looked at the implementations of these algorithms, but it's research code so I wouldn't expect that they are particularly easy to follow, if that's your primary concern.

Solution 3

Here's another monster list of SVM packages, libraries and SVM applications.

Solution 4

the best way to get started is to read the libsvm guide provided in the website, also, a good starting video tutorial on how to install libsvm, and do ur first trainig/classification task can be found here: http://www.youtube.com/watch?v=gePWtNAQcK8 good luck with that, i am also just starting it these days, pretty good results that i got, but still tuning it.

Solution 5

There is also dlib, which is quiet complete.

In particular, there are algorithms for performing classification, regression, clustering, sequence labeling, anomaly detection, and feature ranking, as well as algorithms for doing more specialized computations.

Share:
22,641
levesque
Author by

levesque

Updated on July 09, 2022

Comments

  • levesque
    levesque almost 2 years

    Do you know of any good c++ svm libraries out there I tried libsvm http://www.csie.ntu.edu.tw/~cjlin/libsvm/ but so far I'm not flabbergasted.

    I have also heard of SVMLight and TinySVM. Have you tried them ? Any new players ?

    Thanks !