You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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://uk.mathworks.com/matlabcentral/fileexchange/53641-linear-regression-using-gradient-descent), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0.0 (1.7 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 | Updates are in the description. |
