Simple example and generic function for SVM binary classifier for general matrix

Simple generic function that takes two labelled classes and trains SVM classifier (general matrix).
154 Downloads
Updated 8 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. Takes a general matrix by downloading spam data from UCI repository.

Cite As

Dr. Soumya Banerjee (2024). Simple example and generic function for SVM binary classifier for general matrix (https://www.mathworks.com/matlabcentral/fileexchange/63649-simple-example-and-generic-function-for-svm-binary-classifier-for-general-matrix), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2016b
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!
Version Published Release Notes
1.0.0.0

adding figure