How to run libsvm on matlab on ubuntu?

3 次查看(过去 30 天)
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 个评论
Agapi Davradou
Agapi Davradou 2019-10-16
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!

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB Compiler 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by