How to run libsvm on matlab on ubuntu?
3 views (last 30 days)
Show older comments
Hi,
I have tried to install libsvm (weights for data instances) from the offered zip file. I used make zith g++ compiler, which resulted in the following binaries, svm-train, svm-predict, svm-scale (not the .mexglx format as I expected), my question is how to use those files (same for liblinear) in my matlab script (.m file). I am runing matlab on Ubuntu 18.04. Matlab version, 2019b
Libsvm is not really well-documented...
Thanks for your help
1 Comment
Agapi Davradou
on 16 Oct 2019
Hello! I had the same question.
What I did was the following:
As current folder in Matlab, I selected the /libsvm-x.x/matlab and then I just typed in the command window “make”.
It gives a warning about the gcc version, but the mex compilation was successful.
Good luck!
Answers (0)
See Also
Categories
Find more on MATLAB Compiler in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!