Binary classification through SVM/Decision tree ( Mat. Code)
Version 1.0.0 (118 KB) by
Samarjeet Kumar
The data set is partitioned for training/testing. Scatter plot/confusion matrix/ROC curve is plotted through MATLAB code.
Here, The data set is partioned into (30/70) ratio for testing and training. The detailed procedure is listed below.
Reading training data set
Randomise training set
Creating testing set (partioning in 30/70 ratio).
Model development (either SVM/Decision tree)
Plotting Scatter plot
Plotting confusion matrix
Prediction of data
Saving predicted data in excel set.
See the Zip file for further information.
Cite As
Samarjeet Kumar (2026). Binary classification through SVM/Decision tree ( Mat. Code) (https://www.mathworks.com/matlabcentral/fileexchange/130374-binary-classification-through-svm-decision-tree-mat-code), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2023a
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0 |
