How to run libsvm on matlab on ubuntu?
조회 수: 9 (최근 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
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 Center 및 File Exchange에서 MATLAB Compiler에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!