svm完整版
代码说明:
function [alphaStar, bStar, SVIndex] = yxcSVMtrain(X, Y, C, kernel, sigma) % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % If you have the Chinese book: 《数据挖掘中的新方法——支持向量机》, find the algorithm here: % Classify C-SVC using algorithm 5.4.12 on page 193 % % Otherwise, refer to this article: "Support Vector Machines: Hype or Hallelujah?" % Section 6: SUMMARY OF SVM METHOD on page 5 % http://www.sigkdd.org/explorations/issue2-2/bennett.pdf % % Here is also a very good tutorial: "A Tutorial on Support Vector Machines for Pattern Recognition" % www.umiacs.umd.edu/~joseph/support-vector-machines4.pdf % % A detailed description about iris flower data set: % 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
下载说明:请别用迅雷下载,失败请重下,重下不扣分!


