How to run libsvm on matlab on ubuntu?

조회 수: 9 (최근 30일)
Junhao WEN
Junhao WEN 2019년 9월 22일
댓글: Agapi Davradou 2019년 10월 16일
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