LIBSVM with genetic algorithm?
8 views (last 30 days)
Show older comments
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.
0 Comments
Answers (1)
Walter Roberson
on 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
0 Comments
See Also
Categories
Find more on Statistics and Machine Learning Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!