Filter löschen
Filter löschen

How to run libsvm on matlab on ubuntu?

3 Ansichten (letzte 30 Tage)
Junhao WEN
Junhao WEN am 22 Sep. 2019
Kommentiert: Agapi Davradou am 16 Okt. 2019
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 Kommentar
Agapi Davradou
Agapi Davradou am 16 Okt. 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!

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu MATLAB Compiler finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by