One vs all classification using Logistic Regression for IRIS dataset
This code illustrates how one vs all classification can be used using logistic regression on IRIS dataset. This code was part of my assignment, so you can apply many improvements and you can use the code in your own application. The main file for using this code is one_vs_all_log.m, this code will also help you visualize the decision boundary for all three classes using one vs all concept.
Cite As
Sander Khowaja (2025). One vs all classification using Logistic Regression for IRIS dataset (https://www.mathworks.com/matlabcentral/fileexchange/58273-one-vs-all-classification-using-logistic-regression-for-iris-dataset), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired by: Logistic Regression with regularization used to classify hand written digits, Logistic Regression for Classification, Gradient Descent Algorithm with Linear Regression on single variable
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |