Binary and Multi-class SVM

SVMs for classifying 2D data to 2 or more classes, with 3D/2D visualizations as output.

Download
Download

You are now following this Submission

Cite As

Karl Ezra Pilario (2026). Binary and Multi-class SVM (https://www.mathworks.com/matlabcentral/fileexchange/65232-binary-and-multi-class-svm), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: Red Blue Colormap, SVM

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
3.1.0

Included a reference in IEEE Trans. on Cybernetics.

Download
3.1.0-0

Changed the title; Made minor code corrections

Download
3.0.0

Added multi-class classification using DAG-SVM.

Download
2.3.0

Added an imbalanced data set with an overlap between classes.

Download
2.2.0

Wrote a red-white-blue colormap code where white must coincide with the decision boundary.

Download
2.1.0

Changed the description.

Download
2.0.0

Implemented 1-Norm Soft Margin SVM.

Download
1.0.0

Download