Sequential Minimal Optimization (SMO) for SVM
Run the example in file svm_test.m
SVM_SMO Create SVM model with SMO solver
matrix x(mxn) contains the training set for m tests and n features
with the corresponding labels vector y(mx1). The SMO solver user the
constants C, tol(tolerance and eps (epsilon). The choice of the kernel
is defined in type ('l' for linear, 'r for rbf, 'p' for polynomial and
's' forsigmoid). Depending on the choice of kernel the additionnal
parameter will be used (gamma, offset and power).
The training result will be given as the alpha coefficients and the b
threshold.
LF_SVM_SMO Predict labels from SVM model with SMO solver
matrix xp(mpxn) contains the testing set for n features
and mp tests. The SVM model consists of the alpha
coefficients, the b threshold, the training set matrix x(mxn)and
labels vector y(mx1). The choice of the kernel is defined in
type ('l' for linear, 'r for rbf, 'p' for polynomial and 's' for
sigmoid). Depending on the choice of kernel the additionnal parameter
will be used (gamma, offset and power).
The prediction result will be given as the labels
Implementation from: Platt, John. "Sequential minimal optimization:
A fast algorithm for training support vector machines." (1998).
引用
Ivan Tinjaca (2026). Sequential Minimal Optimization (SMO) for SVM (https://jp.mathworks.com/matlabcentral/fileexchange/79337-sequential-minimal-optimization-smo-for-svm), MATLAB Central File Exchange. 取得日: .
