You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
This is the simple implementation of batch gradient descent algorithm for OLS. At the end of the file we use standard OLS in matrix form to check if gradient descent algorithm provided sensible results.
If the algorithm does not converge and gradient descent values are 'too far' from ordinary OLS values, change learning rate, initial guess or other things within the algorithm.
Cite As
Sarunas Girdenas (2026). grad_descent.zip (https://uk.mathworks.com/matlabcentral/fileexchange/47339-grad_descent-zip), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0.0 (1.82 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
