Simple example and generic function for SVM binary classifier
Version 1.3.0.0 (45.2 KB) by
Dr. Soumya Banerjee
Simple generic function that takes two labelled classes and trains SVM classifier.
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://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 LinuxCategories
Find more on Classification in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
