Linear regression using Gradient Descent
The code uses a dataset from a community college and has a lot of noise in it. Because of noise in the data set, the code is a good example that some times linear regression isn't quite useful but is a baseline classification model. I made sure that it doesn't overfit nor underfit data for the dataset I used. According to the dataset being used the theta parameters need to be increased or decreased and also the polynomial nature of the parameters will have to adjusted. The idea of this program is that it demonstrates Gradient Descent pretty well and does a fair on classification.
Cite As
Charan Puladas (2026). Linear regression using Gradient Descent (https://www.mathworks.com/matlabcentral/fileexchange/53641-linear-regression-using-gradient-descent), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 | Updates are in the description. |
