Simple example and generic function for SVM binary classifier

Simple generic function that takes two labelled classes and trains SVM classifier.

You are now following this Submission

Simple generic function that takes two labelled classes and trains binary SVM classifier. Has very basic example code to call SVM classifier and train SVM on labelled data (returns the trained SVM as a structure). Based on code from the mathworks website and matlab documentation.

Cite As

Dr. Soumya Banerjee (2026). Simple example and generic function for SVM binary classifier (https://uk.mathworks.com/matlabcentral/fileexchange/48635-simple-example-and-generic-function-for-svm-binary-classifier), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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

svm_call function now takes one class label and made more generic

1.2.0.0

title updated
Function made generic to take in kernel type as argument

1.1.0.0

Picture added

1.0.0.0