This page includes basic self-contained MATLAB implementation of some machine learning and other algorithms. Feel free to use them for your lectures!
Basic SVM
Download svmdemo-1.2.tar.gz
for MATLAB.
The package conains an implementation of SVM
training in the dual and demonstrates it with a linear and an RBF
kernel. Data and parameters can be easily customized. The code uses
MATALB Optimization Toolbox quadprog to find the
solution; the focus here is on modeling and the primal/dual
formulations.