Simple example and generic function for SVM binary classifier

Simple generic function that takes two labelled classes and trains SVM classifier.
5.1K Downloads
Updated 3 Jul 2017

View License

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 (2024). Simple example and generic function for SVM binary classifier (https://www.mathworks.com/matlabcentral/fileexchange/48635-simple-example-and-generic-function-for-svm-binary-classifier), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

SVM_example_upload/SVM_example_upload/SVM_example_upload/html/

Version Published Release Notes
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