LIBSVM with genetic algorithm?
显示 更早的评论
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
2019-4-4
0 个投票
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
类别
在 帮助中心 和 File 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!