Archive for the ‘SVM’ Category


August 19, 2009 Leave a comment

I have till now used 2 SVM toolboxes details about them are as follow.

1) SVM Tool Box for matlab

Here we can use the precalculated kernels

NOTE: while compiling it is using the

mex smosvctrain.cpp InfCache.cpp LrrCache.cpp SmoTutor.cpp -lm

The -lm option does not exist atleast in the Matlab 7.0 mex function. So remove it.

While compiling LrrCache.cpp, the compiler is giving a stupid error about the ambiguous call to floor function at line 151. Just type cast it to (long double).

2) Gun’s SVM toolbox

NOTE:  Labels should be -1,1

The data is in row order i.e. each row is a feature vector.

Labels Have to be in column vector.

Categories: matlab, Matlab_Tips, SVM