LIBSVM with genetic algorithm?

6 visualizzazioni (ultimi 30 giorni)
jungwoo kim
jungwoo kim il 4 Apr 2019
Risposto: Walter Roberson il 4 Apr 2019
Hi all
I want to know how to use LIBSVM together with genetic algorithm to obtain SVM parameter.
From the web search, there seems to be GA-SVM library, but I cannot approach to download it
Thank you.

Risposte (1)

Walter Roberson
Walter Roberson il 4 Apr 2019
Any reasonable GA algorithm permits you to use a function handle to be evaluated. The function handle can be to a function you wrote that sets up libsvm calls and executes them and calculates a scalar "score" based upon the results.
I wonder, though, why you are using libsvm instead of using the Statistics Toolbox SVM routines, either the older svmtrain (now no longer supported) or the newer fitcsvm and predict functions? https://www.mathworks.com/help/stats/support-vector-machines-for-binary-classification.html#bsr5o09

Categorie

Scopri di più su Statistics and Machine Learning Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by