LIBSVM with genetic algorithm?

6 次查看(过去 30 天)
jungwoo kim
jungwoo kim 2019-4-4
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.

回答(1 个)

Walter Roberson
Walter Roberson 2019-4-4
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

类别

Help CenterFile Exchange 中查找有关 Statistics and Machine Learning Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by