You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Example MATLAB script to load data
and plot ROC curve and compute
AUC for 4 different classification
algorithms:
GLM with logistic regression
SVM
Naive Bayes
Classification trees
Usage:
matlab < plot_roc_curve_example_comparealgos.m
Adapted from
https://uk.mathworks.com/help/stats/perfcurve.html
Cite As
Dr. Soumya Banerjee (2026). Example MATLAB script to plot ROC curve for different classification algorithms (https://www.mathworks.com/matlabcentral/fileexchange/65629-example-matlab-script-to-plot-roc-curve-for-different-classification-algorithms), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0.0 (5.92 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
